An environment is where the code in a software project is executed. It allows you to track deployments of your application. Secrets that are stored in an environment are only available to workflow jobs that reference that environment.
Add an environment
Log in to your Locker Secrets Manager account, then open the workspace and project you want to add a new environment.
Open the Environments tab on the left navigation bar.
Click the New Environment button on the top right of the screen.
Enter the environment information, then click the Create button.
💡
Note: You can also create a new environment while you are creating a new secret.
The created environments will appear on the environment list as below.
Edit an environment
To edit an environment, go to the Environments screen.
Click the Pencil icon respective to the environment you want to edit.
Edit the information as you want, then click Save to save the changes.
Delete an environment
To delete an environment, go to the Environments screen.
Click the Trash icon respective to the environment you want to delete.
On the popup that appears, click the Confirm button to delete the environment.