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
envsandsecret_envs. - Secrets are available in v2 regions.