Skip to content

Personal access token (classic)

A Personal access token (classic) (often abbreviated as PAT) is a specific authentication method used for accessing and interacting with GitHub services^[400-devops-04-ci-cd-pipelines-github-github-packages.md].

Usage with GitHub Packages

GitHub Packages exclusively supports authentication using a personal access token (classic)^[400-devops-04-ci-cd-pipelines-github-github-packages.md]. This requirement applies to operations such as publishing or consuming packages within the ecosystem^[400-devops-04-ci-cd-pipelines-github-github-packages.md].

Behavior and Limitations

When using source control systems like Git, tokens that are accidentally committed to a repository are subject to security measures, such as automatic removal^[400-devops-04-ci-cd-pipelines-github-github-packages.md]. This security feature can create challenges for workflows that rely on the token being present in the repository for subsequent operations^[400-devops-04-ci-cd-pipelines-github-github-packages.md].

Sources

^[400-devops-04-ci-cd-pipelines-github-github-packages.md]