5050 variables
List, set and delete the linked service's variables.
Usage
5050 variables list [--kv]
5050 variables set K=V [K=V ...] [--stage] [--skip-deploys]
5050 variables delete KFlags
| Flag | Meaning |
|---|---|
--kv | Show values (audited reveal); without it only names are listed |
--stdin | Read the value from standard input (for multi-line values and secrets you do not want in shell history) |
--stage | Stage the change instead of committing it |
--skip-deploys | Commit without redeploying |
Details
variableis an alias.setstages and commits in one step unless--stageis given. References such as${{Postgres.DATABASE_URL}}are stored as written and resolved at deploy time; quote them in your shell.
Examples
5050 variables set 'DATABASE_URL=${{Postgres.DATABASE_URL}}'
5050 variables list --kvRailway equivalent
railway variables works the same way through the railway alias.
Every command also accepts the global options.