Anthropic API key
ID anthropic_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).
Secret key of the Anthropic (Claude) API, sent in the x-api-key header. Standard keys start with sk-ant-api03- and Admin API keys, which manage an organization, with sk-ant-admin01-. Secret scanners expect 93 more letters, digits, underscores or hyphens and the ending AA.
- 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
- Gitleaks, TruffleHog
Regular expression
^sk-ant-(?:api03|admin01)-[A-Za-z0-9_-]{93}AA$
Python re syntax.
Examples
| Value | Description |
|---|---|
| sk-ant-api03-ExampleKeyNotReal invalid | Too short |
Sources
- doc: https://platform.claude.com/docs/en/manage-claude/admin-api
- other: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
- other: https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/anthropic/anthropic.go
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/anthropic_api_key - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/anthropic_api_key.yamlon GitHub