Overview
Generate an API token for authenticating with Qovery programmatically. API tokens are useful for CI/CD pipelines, automation scripts, and integrations.Command
Usage
Examples
Generate Token
Using API Tokens
In CI/CD Pipelines
In Scripts
In Local Development
Security Best Practices
Token Storage
Token Storage
Do:
- Store tokens in CI/CD secret management
- Use environment variables
- Use secure vaults (AWS Secrets Manager, HashiCorp Vault)
- Rotate tokens regularly
- Commit tokens to Git
- Share tokens in plain text
- Use the same token across multiple systems
- Store tokens in application code
Token Rotation
Token Rotation
Regularly rotate API tokens for security:
Limited Scope Tokens
Limited Scope Tokens
Generate separate tokens for different purposes by running
qovery token for each and providing a descriptive name when prompted:Managing Tokens
Tokens can be managed in the Qovery Console:- Go to Organization settings → API token
- View all active tokens
- Revoke tokens that are no longer needed
Token Permissions
API tokens inherit permissions from your user account:- Full Access - Can perform all operations you can perform
- Scoped to Organization - Token permissions apply to specific organization
- Audit Trail - All token actions are logged
Examples by Use Case
CI/CD Deployment
Automated Monitoring Script
Tips
Command reference
Generated fromqovery token --help (CLI v1.180.0). Every command also accepts -h, --help and the global flags.
qovery token
Generate an API token
Usage
Related Commands
qovery auth- Authenticate with tokenqovery context- Set working context