Prerequisites
Set the upstream credential before running:CLI
End-to-end example
The example creates a Secret, launches a sandbox withsecret_envs, runs a command inside the sandbox that calls the upstream API using the placeholder, and finally kills the sandbox.
The code inside the sandbox only ever reads the placeholder (for example
novita_secret_<random_hex>). The real key is substituted at the proxy layer and is never present in the sandboxβs environment variables, filesystem, or process arguments.