- a run-bound network policy;
- short-lived sandbox authentication;
- sealed secret placeholders;
- destination allowlists;
- managed HTTPS inspection;
- fail-closed validation at the outbound proxy.
Request flow
Sealed secret minting
For a secret exposed to the sandbox, Salambo creates a short-lived sealed placeholder when it prepares the run. The authenticated payload binds together:- the secret value and name;
- the allowed destination hosts;
- the active run session;
- issue and expiry times.
Why the proxy is in the middle
HTTPS normally hides request headers from network policy. Salambo therefore routes managed sandbox HTTPS through an authenticated proxy and gives the managed sandbox a Salambo certificate authority to trust. For an allowed destination, the proxy presents a destination-specific certificate to the sandbox, opens the inspected HTTPS request, applies policy and secret substitution, then creates a separate encrypted TLS connection to the external service. This controlled TLS inspection allows Salambo to:- verify the real destination before releasing a secret;
- replace a sealed placeholder only in a supported request header;
- keep plaintext credentials out of sandbox environment variables;
- block private, loopback, link-local, and cloud-metadata destinations;
- record allow/deny decisions without recording secret values.
Destination enforcement
Two checks must pass:- The run’s egress policy must allow the destination.
- Every substituted secret must independently allow that destination through
allowedHosts.
Supported secret use
Secret substitution works in HTTP request headers when the header value is either:SEALED_PLACEHOLDER below is notation for the opaque value Salambo writes into your declared environment variable, not a literal string. For a secret named MY_API_KEY, read process.env.MY_API_KEY and use that value directly in the header.
Failure model
The boundary fails closed. A denied request does not fall back to direct network access or plaintext secret injection. Use the run’s Activity and Diagnostics views to distinguish:- destination denied by egress policy;
- missing secret host scope;
- secret denied for the destination;
- expired or invalid sandbox session;
- expired or invalid sealed secret;
- upstream connection failure.