Skip to content

API Keys

Daytona API keys are used to authenticate requests to the Daytona API.

The Configuration page explains how to set the DAYTONA_API_KEY environment variable.

To manage your API keys, go to the Keys section in the Dashboard. Click Create Key to generate a new key and copy it to your clipboard.

Permissions

When adding a new API Key you will be prompted to select a set of permissions for the key:

PermissionDescription
SandboxesGrants the ability to create and manage Sandboxes
SnapshotsGrants the ability to create and manage Snapshots
RegistriesGrants the ability to create and manage Registries
VolumesGrants the ability to create and manage Volumes

Each permission includes fine-grained scopes:

  • write:* for creating and updating
  • delete:* for deleting resources

Example: write:sandboxes, delete:sandboxes