GitHub fine-grained personal access token
ID github_fine_grained_pat
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Fine-grained personal access token of GitHub, limited to selected repositories and permissions: github_pat_ followed by 82 letters, digits and underscores. Classic personal access tokens (ghp_) and GitHub's other token types are in github_token.
- Parent datatype
- GitHub token
github_token - Categories
- Secrets and credentials (passwords, keys, tokens)
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 70/100 · missing: examples, mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Gitleaks, TruffleHog
Regular expression
^github_pat_[A-Za-z0-9_]{82}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| github_pat_ExampleTokenNotReal invalid | Too short |
Sources
- doc: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github
- other: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
- other: https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/github/v2/github.go
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/github_fine_grained_pat - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/github_fine_grained_pat.yamlon GitHub