oxid env set|list|delete
Environment variables with three resolution scopes — global,
project, branch — resolved Global → Project → Branch at
container start. Values are encrypted at rest (AES-GCM) and never shown back by
list: names and scopes only.
oxid env set DATABASE_URL=postgres://... --scope project
oxid env set STRIPE_API_KEY=sk_... --scope branch --branch feature-login
oxid env list --scope project
oxid env delete STRIPE_API_KEY --scope branch --branch feature-login
| Option | Description |
--scope global|project|branch | Scope of the operation (default global). |
--project <id> | Project id; auto-registered from the current directory when omitted. |
--branch <name> | Required when --scope branch. |
oxid configure [--pause-after d] [--destroy-after d] [--git-token t]
Changes the current project's lifetime policy and private-repo access.
oxid.toml only ever seeds these at first registration — later changes
go through here and take effect on the next GC sweep, no redeploy.
| Option | Description |
--pause-after | Idle timeout before scale-to-zero pause, e.g. 45m. |
--destroy-after | Max lifetime before permanent teardown, e.g. 3d. |
--git-token | PAT for a private repository; empty string clears it. Write-only — never echoed back. |
oxid context add|use|list|current|remove
Named daemon contexts, persisted at ~/.config/oxid/config.toml. Switch
once, stop repeating --api/--token. Purely local — no
daemon round-trip.
oxid context add staging --api https://oxid.internal:8080 --token eyJ...
oxid context use staging
oxid context list # tokens masked to their last 4 chars
oxid context remove staging --force