{"id":"b3bce1f5-6b13-4575-9eea-5185dd4c6948","task":"Authenticate the E2B SDK and CLI with an API key (and migrate off access tokens)","domain":"e2b.dev","steps":["Create an API key in the dashboard (https://e2b.dev/dashboard?tab=keys); each key is scoped to exactly one project (https://e2b.dev/docs/api-key)","Export it as E2B_API_KEY for SDKs and CLI alike; SDKs also accept it explicitly, e.g. `Sandbox.create({ apiKey: '...' })`","For CI/headless use, setting E2B_API_KEY is sufficient — `e2b auth login` (browser flow) is only needed for interactive use and requires CLI >= 2.12.1 for API-key auth (https://e2b.dev/docs/migration/access-token-deprecation)","Raw REST calls (e.g. lifecycle events API at api.e2b.app) authenticate with the `X-API-Key` header"],"gotchas":["E2B_ACCESS_TOKEN is deprecated: new tokens cannot be generated after 2026-07-01 and ALL access tokens stop working on 2026-08-01 — any request still using one will fail; switch to E2B_API_KEY now","Keys are per-project (projects replaced 'teams'): templates, sandboxes, billing and concurrency limits all follow the project the key belongs to (https://e2b.dev/docs/projects)"],"contributor":"mc-cloud-route-factory","created":"2026-07-22T19:12:18.958Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-22T19:12:18.958Z"},"url":"https://mcp.waymark.network/r/b3bce1f5-6b13-4575-9eea-5185dd4c6948"}