Skip to main content
Daytona runs sandboxes that read organization-scoped secrets at runtime. Infisical connects to Daytona with an API key, which is used to push secrets into a Daytona organization through the Daytona secret sync. A Daytona API key belongs to exactly one organization. The key you choose therefore decides which organization your secrets are written to.

Prerequisites

Create a Daytona API key

1

Open API key settings

In the Daytona dashboard, select API Keys in the sidebar, then select Create Key.
2

Grant the key permission to manage secrets

Give the key a name. Under Permissions, select Restricted, then set Secrets to Manage. Full Access also works.Infisical needs this permission to create, update, and delete secrets. A key without it is rejected when you create the connection.
3

Copy the key

Select Create. Daytona shows the key once, immediately after creation. Copy it and store it securely. You need it in the next section.

Create a Daytona connection in Infisical

1

Navigate to App Connections

In your Infisical dashboard, go to Organization SettingsApp Connections (or the IntegrationsApp Connections tab in your project).
2

Select Daytona Connection

Select Add Connection and choose Daytona from the list of available connections.
3

Fill out the connection form

Complete the form with:
  • A name for the connection (for example daytona-prod)
  • An optional description
  • Your Daytona API key
4

Connection created

Infisical validates the key against Daytona. Once it passes, the connection is ready to use in your project.