Secrets
Secrets are in private beta. Ask for access at support@e2b.dev.
How it holds together#
Write-only — Create and update accept the value; responses, reads, lists and API errors never return it.
Project-scoped — A secret belongs to the project of the API key that created it.
Referenced, not copied — The sandbox configuration carries the secret's name, never its value.
Inject credentials only into destinations you trust. The destination receives the value and could echo it back to the sandbox in its response.
What you can do with a secret#
Header injection itself uses the same per-host network.rules described in Control internet access.