static token file
A CSV file of bearer tokens the API server accepts, set with --token-auth-file, which benchmarks say not to use.
Static tokens are stored in plain text and never expire.
In more detail
Each line holds a token, a user name, a user ID and optional groups. Tokens in it live in plain text on disk and cannot be changed without restarting the API server.
Related terms
- bearer token — A token that grants access to whoever presents it, sent as Authorization: Bearer <token>, without any further proof of identity.
- API server — The Kubernetes control plane component that serves the Kubernetes API; every read and change to the cluster goes through it.
Taught in
- Security Landing Zones & Centralized Egress Inspection — Cloud Security & DevSecOps Engineering