ghaym cloud vars
Manage environment variables.
All pages
Every command here also takes the global flags, returns the exit codes, and prints the JSON envelope with --json.
List environment variables.
Usage
ghaym cloud vars list --env <env> [flags]| Flag | What 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 |
--show | print non-secret values instead of masking them |
Stage setting an environment variable.
Usage
ghaym cloud vars set <key> <value> [flags]| Argument | Required |
|---|---|
<key> | Yes |
<value> | Yes |
| Flag | What 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 |
--secret | store as a secret; the value is never readable again |
--env <env> | environment name or id; production when omitted |
--apply | publish now instead of leaving the change staged |
Stage removing an environment variable.
Usage
ghaym cloud vars unset <key> [flags]| Argument | Required |
|---|---|
<key> | Yes |
| Flag | What 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 |
--apply | publish now instead of leaving the change staged |