GitHub token
ID github_token
DatatypeNot PIIDraft
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).
Token issued by GitHub, such as a personal access token. It starts with a prefix that names the token type (ghp_, gho_, ghu_, ghs_ or ghr_) followed by 36 letters and digits.
- Categories
- Secrets and credentials (passwords, keys, tokens)
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Microsoft Purview
GitHub personal access token,All Credential Types,All credentials- Quality
- 75/100 · missing: examples, negative example, translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- detect-secrets, Gitleaks, Microsoft Purview Data Loss Prevention, Nightfall AI, Semgrep, TruffleHog
Regular expression
^gh[pousr]_[A-Za-z0-9]{36}$
Python re syntax.
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| github_fine_grained_pat | GitHub fine-grained personal access token draft | secrets | global | Fine-grained personal access token of GitHub, limited to selected repositories and permissions: github_pat_ followed by 82 letters,... |
Sources
- doc: https://learn.microsoft.com/en-us/purview/sit-defn-github-personal-access-token
- doc: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/github_token - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/github_token.yamlon GitHub