Interview Prep/Kubernetes/Security: RBAC, ServiceAccounts & Pod Security

How do users authenticate to Kubernetes?

BeginnerConceptSecurity: RBAC, ServiceAccounts & Pod Security
Answer

Kubernetes has no user database. Authenticators include client certificates, bearer tokens (ServiceAccount tokens), OIDC ID tokens (Okta, Entra ID, Google) and webhook auth. On EKS, aws eks get-token produces a token validated by the IAM authenticator, mapped to Kubernetes via access entries.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security: RBAC, ServiceAccounts & Pod Security