Datatypes

PlanetScale API token

ID planetscale_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).

Token for the PlanetScale API and CLI: a service token starts with pscale_tkn_ and an OAuth token with pscale_oauth_. Secret scanners expect 32 to 64 letters, digits and the characters _ = . - after the prefix. Database passwords are a separate type (planetscale_password).

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
Gitleaks, TruffleHog

Regular expression

^pscale_(?:tkn|oauth)_[A-Za-z0-9_=.-]{32,64}$

Python re syntax.

Examples

ValueDescription
pscale_tkn_ExampleTokenNotReal invalidToo short

Sources

Use this record