Skip to main content
Environment variables configure apps without rebuilding them.

Goal

Keep secrets safe and make deployments portable.

When to use

Use environment variables for database URLs, API keys, feature flags, and service credentials.

Example

Rules

  • Do not commit secrets.
  • Use clear variable names.
  • Rotate leaked keys immediately.
  • Keep production and development values separate.

Next steps

Manage secrets

Update app environment variables.

App environment API

View the endpoint reference.
Last modified on June 27, 2026