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

What changed with ServiceAccount tokens in Kubernetes 1.24 onward?

IntermediateConceptSecurity: RBAC, ServiceAccounts & Pod Security
Answer

Pods now receive bound, time-limited, audience-scoped tokens via a projected volume instead of long-lived Secret-based tokens, which are no longer auto-created. Tokens are invalidated when the Pod is deleted. For legacy needs you create a Secret with type kubernetes.io/service-account-token explicitly, or use kubectl create token.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security: RBAC, ServiceAccounts & Pod Security