Secrets refer to sensitive information such as passwords, API token, database credentials, or any other confidential data that is used to access and protect various resources in your software project.
You can create, manage and access secrets from the Dashboard.
💡
Note: A secret belongs to only one project in one workspace.
Add a new secret
Log in to your Locker Secrets Manager account, then open the workspace and project you want to add a new secret. You will be directed to the Secrets screen.
Click the New Secret button on the top right of the screen.
Enter secret key, value and description for the new secret.
Choose an environment where the secret is deployed. You can either choose an existing environment or create a new environment.
The default option is All (*), which means the secret will be deployed on all environments in your project.
💡
Note: You can not create two or more secrets using the same key in an environment. The keys have to be unique from the others.
Click the Create button. You will see the new secret appear on the secrets list.
Edit a secret
To edit a secret, go to the Secrets screen.
Click the Pencil icon respective to the secret you want to edit.
Edit secret key, value, description, or environment as you want.
Click the Save button to save the changes.
Delete a secret
To delete a secret, go to the Secrets screen.
Click the Trash icon respective to the secret you want to delete.
On the popup that appears, click the Confirm button to delete the secret.