API key
A secret string a program sends to prove which account it is calling an API as.
An API key is a long random string that identifies a program to a service’s API, a bit like a password made for software. Some services use a key alone; others pair a key with a separate secret. Anyone who gets hold of a working key can act as its owner, so keys are kept private and replaced when they might have been exposed.
See also
- Base64
- Access token
- Allowlist
- Authentication (and authorisation)
- Deny by default
- Headscale
- Key rotation
- Keychain (macOS)
Sources
- API keyWikipediaofficial healthy, checked 2026-11-15 archived copy
In security catalogues
- T1552.001 Credentials In FilesMITRE ATT&CK healthy, checked 2026-11-15 archived copy
- T1550.001 Application Access TokenMITRE ATT&CK healthy, checked 2026-11-15 archived copy
- CWE-798 Use of Hard-coded CredentialsCWE healthy, checked 2026-11-15 archived copy
- CWE-522 Insufficiently Protected CredentialsCWE healthy, checked 2026-11-15 archived copy
- IA-5 Authenticator ManagementNIST SP 800-53 healthy, checked 2026-11-15 archived copy