Koyeb Secrets allow secure storage and use of sensitive information like
passwords or API tokens. The Secrets feature can be used in Stacks. To connect third-party stores,
you must configure Secrets with your credentials.
You can use Secrets to store:
Access credentials for databases or APIs,
Third-party provider credentials,
Reusable configuration variables.
All Secret values are automatically encrypted server-side to ensure secure
storage. To prevent unauthorized access, Secrets access must be explicitly
granted in your Stack functions.
Create a Secret
A Secret is composed of a name and a value. The name of a Secret must
comply with RFC1123, the DNS naming
convention, and can only contain lowercase letters, numbers and
dashes.
To create a Secret:
From your Koyeb Control Panel, click Secrets located in the left side menu;
Click Create Secret
In the Create Secret modal, enter your Secret name and value. Make sure to
choose an explicit name as you will need this name to use the Secret as well as validate
it to save your Secret."
Now, your secret has been created and is ready to use!