Access token
A secret string a program presents to a service to prove it is allowed to act, often for a limited time.
An access token is a long secret string that a program sends with each request to show it is allowed to use a service, much like an API key. Many are “bearer” tokens: whoever holds the string gets the access, with no further check of who they are. That makes a leaked token as good as a stolen password until it is revoked, which is why tokens are kept out of logs and chat, given an expiry, and replaced regularly.
See also
- API key
- Key rotation
- Secrets manager (vault)
- Allowlist
- Authentication (and authorisation)
- Deny by default
- Headscale
- Keychain (macOS)
Sources
- RFC 6750: The OAuth 2.0 Authorization Framework: Bearer Token UsageIETFofficial healthy, checked 2026-11-15 archived copy
- RFC 6749: The OAuth 2.0 Authorization FrameworkIETF healthy, checked 2026-11-15 archived copy
- Access tokenWikipedia healthy, checked 2026-11-15 archived copy
In security catalogues
- T1528 Steal Application Access TokenMITRE ATT&CK healthy, checked 2026-11-15 archived copy
- T1550.001 Use Alternate Authentication Material: Application Access TokenMITRE ATT&CK healthy, checked 2026-11-15 archived copy