Format
Generating a client secret
- Log into the Vela dashboard
- Navigate to Settings > Client Secrets
- Click Generate New Secret
- Copy the secret immediately — it is only shown once
Using in your code
Store the secret as an environment variable:Revoking a secret
- Go to Settings > Client Secrets in the dashboard
- Click the delete icon next to the secret you want to revoke
- The secret is immediately invalidated
Revoking a secret is instant and irreversible. Any application using that secret will receive
401 Unauthorized errors.Best practices
- Generate separate secrets for development and production
- Rotate secrets periodically
- Never embed secrets in client-side code or commit them to version control
- Use your CI/CD platform’s secret management (GitHub Actions secrets, Vercel env vars, etc.)