Skip to main content
Vela uses two types of credentials, each for a different purpose. Both are generated exclusively in the Vela dashboard.

Credential types

CredentialFormatScopeUsed for
Client secretvela_cs_...Account-levelManaging apps, schemas, notification rules
API keyvela_live_...App-levelIngesting events
Credential flow diagram

How they’re used

Client secret

Used with the Management Client to authenticate account-level operations. Passed as a Bearer token in the Authorization header.
const client = new VelaManagementClient(process.env.VELA_CLIENT_SECRET);

API key

Used with the Ingest Client to send events. Passed in the x-api-key header. Each app has its own API key.
const ingest = new VelaIngestClient(process.env.VELA_API_KEY);
Never commit credentials to source control. Use environment variables or your CI/CD secret store.

Next steps

Client Secrets

Learn how to generate and manage client secrets.

API Keys

Learn how API keys are created and rotated.