Skip to main content

Add and Manage Secrets

Secrets are sensitive information, including passwords, API keys, database credentials, or any secure data used to access and protect resources in a software project. You can create, manage, and access this data from the management dashboard.
A secret belongs to a single project within a workspace.

Create a new secret

  1. Log in to your Locker Secrets Manager account, open a workspace and the project where you want to add a secret. You will be navigated to the Secrets screen.
  2. Click the New Secret button in the upper right corner of the screen.
Secrets list screen with the New Secret button
  1. Enter the key and value for the secret you want to create. You can add a description if desired.
New secret creation form
  1. Select an environment where the secret will be deployed. You can choose an existing environment or create a new one. The default environment value is All (*), which means the created secret will be deployed across all environments in your project.
    You cannot create two or more secrets with the same key in the same environment. Each secret’s key must be unique within an environment.
  2. Click the Create button. You will see the newly created secret appear in the list.
Secrets list after creation

Edit a secret

To edit a secret, go to the Secrets screen.
  1. Click the Pencil icon corresponding to the secret you want to edit.
Secrets list with the edit icon
  1. Edit the key, value, description, or environment fields of the secret as desired.
  2. Click the Save button to save your changes.

Delete a secret

To delete a secret, go to the Secrets screen.
  1. Click the Trash icon corresponding to the secret you want to delete.
Secrets list with the delete icon
  1. In the pop-up window that appears, click the Confirm button to delete the secret.
  2. The secret will be permanently deleted.