Skip to main content

art_app_envvars_set

art app envvars set

SET one or more environment variables for the application

art app envvars set -f FILENAME --env args... --type=buildtime|runtime [flags]

Examples

art app envvars set -f art.yaml --env "foo1"="bar1" "foo2"="bar2" --type=runtime

Options

      --dotenv-file string   the path to the .env file. This file will be parsed and will be populated as .env file
--env stringToString the secrets you want to add. Note: if both dotenv-file and env is provided and duplicate envs are found env will take precedence (default [])
-f, --file string Path to the art.yaml file, art.yaml file is the file used to app deploy
-h, --help help for set
--set strings key value pair to provide overrides for the art.yaml file
--type string type of envvars to get, can be 'buildtime' or 'runtime'

Options inherited from parent commands

      --key string       art key (clientID you get when a token is generated from the ui)
--profile string art profile (default "default")
--secret string art secret (secret you get when a token is generated from the ui)

SEE ALSO

  • art app envvars - Parent command to manage environment variables of your application
Auto generated by spf13/cobra on 29-Nov-2022