Downloads the environment variables from an application and writes them to a file. This file can either use the same format as web download (dotenv
) or json
.
You can specify which kinds of variables to download using environment-type
with the following variables:
all
returns all environment variablesuser
returns user-created environment variablesgenerated
returns environment variables generated by Cloud 66locked
returns non-editable environment variables that were generated by Cloud 66
$ cx env-vars download --stack <application name> --environment-type <type> --file <filename> --file-type <file-type>