How authentication works in E2B Dashboard
mainThe dashboard uses a single team API key for authentication. It does not use user accounts or external auth providers.
- Via UI: Visiting
/presents a form to enter the key. The key is validated against theinfra-apiand stored in anhttpOnlye2b_api_keycookie. All upstream requests are made server-side using theX-API-Keyheader, ensuring the key is never exposed to client-side JavaScript. - Via Environment Variable: Setting
E2B_API_KEYat server start enables single-user mode. In this mode, the login form and sign-out options are automatically hidden.