ghaym cloud vars

Manage environment variables.

Every command here also takes the global flags, returns the exit codes, and prints the JSON envelope with --json.

ghaym cloud vars list

List environment variables.

Usage
ghaym cloud vars list --env <env> [flags]
FlagWhat it does
--env <env>Requiredenvironment id, or a name together with --project
--limit <n>maximum rows to return
--offset <n>rows to skip
--project <project>project, needed when --env is a name
--service <service>only this service's variables, by id, slug or name
--showprint non-secret values instead of masking them

ghaym cloud vars set

Stage setting an environment variable.

Usage
ghaym cloud vars set <key> <value> [flags]
ArgumentRequired
<key>Yes
<value>Yes
FlagWhat it does
--service <service>the service the variable is staged on, by id, slug or name; without it the variable reaches every service in the environment
--project <project>project, needed without --service
--secretstore as a secret; the value is never readable again
--env <env>environment name or id; production when omitted
--applypublish now instead of leaving the change staged

ghaym cloud vars unset

Stage removing an environment variable.

Usage
ghaym cloud vars unset <key> [flags]
ArgumentRequired
<key>Yes
FlagWhat it does
--service <service>the service the variable is staged on, by id, slug or name; without it the variable reaches every service in the environment
--project <project>project, needed without --service
--env <env>environment name or id; production when omitted
--applypublish now instead of leaving the change staged