Skip to content
Paquetier

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.

  1. Navigate to Credentials > API Keys in the sidebar.
  2. Click New Key.
  3. Configure the key:
    • Name — A descriptive name (e.g. “CI pipeline”, “local dev”).
    • Role — The permission level for this key (admin, write, or read).
    • Scope — Restrict the key to a specific repository, or allow access to all repositories.
  4. Click Create Key.

All API keys are prefixed with paquetier_ for easy identification. For example: paquetier_abc123def456...

paquetier login --token paquetier_your_api_key

Pass the key in the Authorization header:

curl -H "Authorization: Bearer paquetier_your_api_key" \
  https://paquetier.example.com/api/v1/repos
options(download.file.extra = paste0(
  '--header="Authorization: Bearer ', Sys.getenv("PAQUETIER_TOKEN"), '"'
))
  • 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.