maxdraco

Access token

A secret string a program presents to a service to prove it is allowed to act, often for a limited time.

Concept Identity and access

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 A secret string a program sends to prove which account it is calling an API as.
  • Key rotation Replacing a password, key or token with a new one and retiring the old one.
  • Secrets manager (vault) A service that stores passwords, keys and tokens in one protected place and hands them out only to programs and people allowed to have them.
  • Allowlist A list of the things that are explicitly permitted; everything not on it is refused.
  • Authentication (and authorisation) Checking who someone is (authentication), then deciding what they are allowed to do (authorisation).
  • Deny by default A security rule where nothing is allowed unless a rule specifically permits it.
  • Headscale Open-source, self-hosted replacement for Tailscale's coordination server.
  • Keychain (macOS) The built-in encrypted store where Apple devices keep passwords, keys and certificates.

Sources

  1. RFC 6750: The OAuth 2.0 Authorization Framework: Bearer Token UsageIETFofficial healthy, checked 2026-11-15 archived copy
  2. RFC 6749: The OAuth 2.0 Authorization FrameworkIETF healthy, checked 2026-11-15 archived copy
  3. Access tokenWikipedia healthy, checked 2026-11-15 archived copy

In security catalogues