Skip to content

Credentials

Credentials are stored securely using a two-tier system:

  1. Infisical (primary) — External secrets manager for production deployments
  2. Database (fallback) — Encrypted database storage when Infisical is unavailable

Credentials are never stored in flow definitions. Instead, flows reference credentials by key name.

TypeDescriptionExample
api_keyAPI key in headerX-API-Key: abc123
bearerBearer tokenAuthorization: Bearer token
noneNo authenticationPublic APIs

In flow definitions, credentials are referenced by key:

{
"authType": "api_key",
"authCredentialRef": "exa_api_key",
"authHeaderName": "X-API-Key"
}

The runtime resolves exa_api_key to the actual secret value at execution time.

Files and sensitive data are encrypted per-user with AES encryption using the platform’s ENCRYPTION_KEY. Each user’s data is isolated and encrypted independently.

  1. Navigate to Settings → Credentials in the dashboard
  2. Click Add Credential
  3. Enter the credential key (used in flow references) and secret value
  4. Select the credential type
  5. The credential is encrypted and stored