concept
Certificates and workload federation
A certificate associates a public key with an identity under a signer’s rules. A relying party checks the certificate chain against trusted roots, its validity period, appropriate usage and the expected identity. For TLS servers the expected DNS name must match the certificate. Private keys remain private. A certificate can authenticate a client without granting it authorization to a Kubernetes resource.
Formal Syntax & Structure
kubernetes syntaxkubernetes
CertificateSigningRequest + serviceAccountToken projectionWorking Example
Example Snippetkubernetes
serviceAccountName: catalogautomountServiceAccountToken: falsevolumes:- name: identity projected: sources: - serviceAccountToken: audience: inventory.example.invalid expirationSeconds: 3600 path: tokencontainers:- name: catalog image: registry.example.invalid/catalog:fixture volumeMounts: - name: identity mountPath: /var/run/lab-identity readOnly: true