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
| Value | Description |
|---|---|
| pscale_tkn_ExampleTokenNotReal invalid | Too short |
Sources
- doc: https://planetscale.com/docs/api/service-tokens
- other: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
- other: https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/planetscale/planetscale.go
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/planetscale_token - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/planetscale_token.yamlon GitHub