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
Section titled “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.
Key Format
Section titled “Key Format”All API keys are prefixed with paquetier_ for easy identification.
For example: paquetier_abc123def456...
Using API Keys
Section titled “Using API Keys”With the CLI
Section titled “With the CLI”With the API
Section titled “With the API”Pass the key in the Authorization header:
With R (Private Repos)
Section titled “With R (Private Repos)”Managing Keys
Section titled “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.