Skip to content
Paquetier

Git Credentials

Git credentials allow Paquetier to clone private git repositories when building packages from git sources.

Supported Auth Types

HTTPS Token

Use a personal access token or deploy token from your git forge.

Forge Token Format
GitHub ghp_...
GitLab glpat-...
Forgejo Application token
Bitbucket App password

SSH Key

Provide a private SSH key (e.g. id_ed25519) that has access to the repository.

Creating a Credential

  1. Navigate to Credentials > Git Credentials in the sidebar.
  2. Click New Credential.
  3. Fill in the details:
    • Name — A descriptive name (e.g. “GitHub CI”, “GitLab deploy”).
    • Auth Type — HTTPS Token or SSH Key.
    • Forge Type — GitHub, GitLab, Forgejo, or Bitbucket.
    • Host — The forge hostname (e.g. github.com).
    • Token / SSH Key — The credential value.
  4. Click Create Credential.

Security

Credentials are encrypted at rest using AES-256-GCM, keyed from the server’s JWT secret. They are only decrypted when needed during a git clone operation.

Using Credentials

When adding a git source, select the credential from the dropdown. Public repositories can use “None” as the credential.

:::caution Deleting a credential will cause any git sources using it to lose access to their repositories. :::