Stripe secret or restricted API key
ID stripe_api_key
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).
Server-side API key of Stripe. Secret keys start with sk_ and restricted keys with rk_, followed by test_ for a sandbox or live_ for live mode. Publishable keys (pk_) are meant to be public and are not covered.
- Parent datatype
- API key or client secret
api_key - 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
- Amazon Macie, detect-secrets, Gitleaks, Nightfall AI, Semgrep, TruffleHog
Regular expression
^(?:sk|rk)_(?:test|live)_[0-9A-Za-z]{10,99}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| pk_test_ExampleKeyExampleKeyExam invalid | Publishable key |
Sources
- doc: https://docs.stripe.com/keys
- other: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/stripe_api_key - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/stripe_api_key.yamlon GitHub