Datatypes

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

ValueDescription
sk. invalidPrefix without the secret

Sources

Use this record