Skip to main content
Both are injected as standard environment variables. The CLI flags take KEY=VALUE and can repeat.
  • Environment variables are stored in plain text and visible when you inspect the sandbox.
  • Secrets are encrypted at rest, never returned in API responses, and obfuscated in CLI output. Use them for API keys, passwords, and anything you wouldn’t want in logs.
For a single command, pass env vars on the command instead: see Run a command.