There are two ways to manage environment variables for applications - the UI and CLI. The vars are stored as secrets in the kubernetes cluster and mounted by the specific application as environment variables at pod run time.
- UI - the environment variables can be set during application creation.
- UI - environment variables can be modified after application creation by going to the specific application view.
- CLI - the
art app envvarscommand can be used to set environment variables. It is better practice to set the variables before deploying the application so that the app has the variables accessible when starting up. This command can be used to both
getthe current environment variables. A
.envfile can be provided as input to the cli to generate the envvars file in the appropriate format.
Note: The CLI is supported on linux and macOS. Windows support is unverified.