build / variables
Variables
Settings and secrets for each service, encrypted with your organisation's key and separate per environment.
Set a variable
Unless you mark them for production, variables go to development. The value is asked for, so it never lands in your shell history.
$ 00b5e2 env set API_KEY
value: ********
■ API_KEY set in development
$ 00b5e2 env set API_KEY --prod
■ API_KEY set in production
List them
$ 00b5e2 env ls --json
[ { "key": "API_KEY", "env": "development", "secret": true,
"updated": "2026-11-23T09:14:00Z" },
{ "key": "DATABASE_URL", "env": "development", "secret": true,
"from": "db" } ]
Variables from other services
Linking a service to a database injects its connection variable: DATABASE_URL for db, CACHE_URL for cache, ANALYTICS_URL for analytics. To use another service in your own variables, reference it instead of copying the value. Connecting services explains the whole network.
$ 00b5e2 services link mailer cache
■ CACHE_URL injected into mailer
$ 00b5e2 env set API_URL='${api.internal_url}'
■ API_URL set in development, follows api
Secrets
Secrets are write only. The console, the CLI and the MCP server never show a secret again. Agents can set and rotate them, never read them.
Import a file
$ 00b5e2 env import .env
■ 6 variables imported to development
$ 00b5e2 env rm OLD_FLAG
■ OLD_FLAG removed from development
Apply them
Variables apply on the next deploy. Deploy again, or ask env set to redeploy and the service restarts right away.
From an agent
| tool | what it does |
|---|---|
| set_variable | Set or rotate a variable, never read a secret |
| list_variables | Names, environment and date, without secret values |
| delete_variable | Remove a variable from one environment |