You can store and manage secrets per environment. During deployment setup, you can easily apply saved secrets as environment variables.
In the Secrets section of environment settings tab, you can either drag and drop an ENV file or click the icon to manually input multiple environment variables.
NAME=VALUE
format. Any file extension is acceptable.In the Environment Variables section of the deployment modal, Click to load previously saved environment variables in the environment.
You can update environment variables in the deployment settings section under the Settings tab of your service page. Click Deploy
to apply the changes.
The following example demonstrates how to set environment variables in YAML when using CLI or CI tools for deployment. Use secret
for secrets: