Configuration
Declare E2B indari.yml and reference a stored credential for your E2B API
key:
| Field | Required | Notes |
|---|---|---|
provider | yes | Must be e2b. |
provider_api_key_secret | yes | Name of a stored org credential holding your E2B API key. Must match ^[A-Z_][A-Z0-9_]*$. Never put the raw key here. |
provider_api_key_secret is resolved at session
start and used to authenticate against E2B for both sandbox creation and
reconnection.
Base image
If you omit theruntime block in dari.yml, Dari uses the default E2B base
image (e2bdev/base:latest) and copies your bundle to /bundle inside the
sandbox.
To install extra system packages or use a different base distro, add a
Dockerfile at the repo root and reference it:
Getting an API key
- Sign up at e2b.dev.
- Create an API key from your E2B dashboard.
- Store it as an org credential named
E2B_API_KEY(or any^[A-Z_][A-Z0-9_]*$name you prefer) and reference it fromdari.yml.