Security, topic 41 of 61
Authentication, authorization and admission
Every request to the API server is authenticated, to find out who sent it, by a client certificate, a token or OIDC; authorized, to decide whether that identity may do this, usually by RBAC; and admitted, where admission controllers may change or refuse the object before it is stored.
Kubernetes has no user objects: people come from outside, by certificate or an identity provider. Learn the order of these steps and where each can refuse, since most access errors are explained by it.
On Opsfolk
- Kubernetes API Server Explained: The Life of a RequestArticle, 28 min read
Elsewhere
- Controlling access to the Kubernetes APIOfficial
- AuthenticatingOfficial