Skip to main content
Environment variables are encrypted at rest and injected into your app’s environment on the next deploy. Keys follow the usual shape: ^[A-Z][A-Z0-9_]{0,63}$. Variables are scoped per environment. Every command and endpoint below defaults to production; pass --env <slug> (CLI) or ?environment=<slug> (API) to target another environment.

CLI

API / MCP

Variables are set in batches; existing keys are overwritten:
Full contracts in the Environment variables API.

Behavior to know

  • Apply-on-deploy. Changing a variable does not restart anything; values take effect on the next deploy. Set vars, then korve deploy.
  • Admin-gated both ways. Reading decrypted values and writing them both require the admin role — a member key can’t exfiltrate secrets.
  • Manifests mask values. korve manifest export writes ******** for every value, and masked values are ignored on apply — your secrets never round-trip through git. See Manifests.
  • The dashboard’s Environment tab supports pasting a whole .env file for bulk import.