Mapbox access token
ID mapbox_access_token
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).
Access token of the Mapbox APIs. Mapbox documents three kinds by prefix: public tokens (pk), meant to be embedded in client applications, secret tokens (sk) and temporary tokens (tk). The regexp applies to all three the structure that gitleaks checks for public tokens: the prefix, a dot, 60 letters and digits, a dot and 22 letters and digits.
- Parent datatype
- Access token
access_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
- Datadog Sensitive Data Scanner, GitGuardian, GitHub secret scanning, Gitleaks
Regular expression
^(?:pk|sk|tk)\.[A-Za-z0-9]{60}\.[A-Za-z0-9]{22}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| sk. invalid | Prefix without the secret |
Sources
- doc: https://docs.mapbox.com/accounts/guides/tokens/
- other: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/mapbox_access_token - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/mapbox_access_token.yamlon GitHub