API Keys
API keys allow you to authenticate with the Paquetier API and CLI without using your username and password. They are essential for CI/CD pipelines and automated workflows.
Creating an API Key
- Navigate to Credentials > API Keys in the sidebar.
- Click New Key.
- Configure the key:
- Name — A descriptive name (e.g. “CI pipeline”, “local dev”).
- Role — The permission level for this key (
admin,write, orread). - Scope — Restrict the key to a specific repository, or allow access to all repositories.
- Click Create Key.
:::caution Copy the generated key immediately. It will not be shown again. :::
Key Format
All API keys are prefixed with paquetier_ for easy identification.
For example: paquetier_abc123def456...
Using API Keys
With the CLI
With the API
Pass the key in the Authorization header:
With R (Private Repos)
Managing Keys
- Keys can be deleted from the API Keys page.
- Deletion is immediate and cannot be undone.
- The Last Used column shows when each key was last used for authentication.
