Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Authentication

AgentENV uses three credentials for three separate kinds of access:

CredentialProtectsWhen requiredHeader
API keyAgentENV lifecycle and management APIsAll authenticated control-plane requestsX-API-Key
trafficAccessTokenServices exposed by a sandboxallowPublicTraffic: falsee2b-traffic-access-token
envdAccessTokenenvd operations such as command execution and file accesssecure: trueX-Access-Token

These credentials are not interchangeable. The API key belongs to the AgentENV deployment; the other two tokens belong to an individual sandbox.

Notice: Authentication verifies credentials but does not encrypt traffic. Use HTTPS termination, a VPN, loopback, or a trusted private network to protect API keys and sandbox tokens in transit.


Where to Go Next: