Shared Environment Variables
Shared environment variables are environment level variables that can be used by all the applications deployed in the environment.
Managing shared environment variables for your environment

To set up the shared environment variables, navigate to the Services page and click on the "Variables" tab.
- You can add/edit/delete shared environment variables from here.
- You cannot delete a shared environment variable which is referenced by any service.
- To reflect any value updates to a shared environment variable, each service using the shared environment variable must be re-deployed.
note
You can add secret shared environment variables by clicking the "Lock" icon. The secrets will be injected into the containers using the External Secrets Operator. Read more about how we store your secrets here.
Referencing shared environment variables in a service

- Go to the "Configure" tab for the service.
- In the Environment Variables section, click on "Add" button and then select "Add Shared Variable".
- Choose the shared environment variable you want to reference from the dropdown.
- Save and redeploy the service to start using this variable.
info
If your service uses a different variable name than what is defined in the shared variable, you can click on the edit icon to rename the reference for this service.