→ Back to Home
Kubernetes

Kubernetes v1.37 Native Pod Certificates Eliminate Bearer Token Risks for Workload Identity

The Kubernetes project has introduced Pod Certificates and ClusterTrustBundles in the v1.37 release cycle. Under this native architecture, the Kubelet generates private keys locally on worker nodes, issues PodCertificateRequest resources to configured in-cluster or external certificate signer controllers, and mounts the resulting signed X.509 certificate chain and trust anchors directly into the container filesystem via projected volumes. Core Kubernetes signers enforce short-lived certificate lifetimes capped at 24 hours, while external signers support up to 91 days, with the Kubelet handling automated pre-expiration rotation. This enhancement fundamentally modernizes the threat model for intra-cluster communication and service-to-service authentication. Historically, Kubernetes workload identity has depended primarily on ServiceAccount JWT tokens. Because JWTs are bearer tokens, an intercepted token can be replayed by any malicious actor within its validity window. In contrast, native Pod Certificates operate on a proof-of-possession model using asymmetric keys (such as ECDSA or RSA), guaranteeing that private keys never leave the node. Additionally, security enforcement within the kube-apiserver node restriction admission plugin prevents compromised worker nodes from requesting certificates for pods scheduled on other hosts, cementing strong node-level isolation. This development fits into the broader cloud-native movement toward native Zero Trust security and streamlined workload attestation. In prior releases, achieving automated mTLS required platform operators to deploy and maintain third-party operators such as cert-manager or comprehensive service meshes. By integrating X.509 lifecycle management directly into the Kubelet and control plane, Kubernetes makes workload identity a core primitive rather than an operational afterthought. While identity frameworks like SPIFFE and SPIRE continue to serve cross-cluster and multi-cloud federation needs, Kubernetes now supplies the required cryptographic foundation natively out of the box. In practice, platform and DevOps teams can begin streamlining their cluster footprints by replacing bespoke certificate injection webhooks with native PodCertificateRequest definitions. However, practitioners must ensure that application runtimes and client libraries are configured to dynamically reload rotated certificates from the projected filesystem using file-system notifications (inotify) or polling, avoiding unexpected connection drops when short-lived certificates refresh.
#kubernetes#security#workload-identity#mtls#tls-certificates
Read original source