Skip to main content
Store the key as a Novita Sandbox Secret and pass it with secret_envs instead of envs. Code in the sandbox only sees a placeholder like novita_secret_<hex>; the real value is added only to HTTPS request headers sent to hosts you allow.

Details

  • Substitution applies to HTTPS header values only — not request bodies, URL paths, query strings, plain HTTP, or WebSocket messages.
  • The same variable name can’t be used in both envs and secret_envs.
  • Secrets are available in v2 regions.

How to

Learn more: Secrets · Use secrets in a sandbox
Last modified on November 11, 2026