1. [Home](https://quorumauth.com/) /
2. [Solutions](https://quorumauth.com/solutions/) /
3. Workload identity for Kubernetes

Solutions · QuorumAuth

# Workload identity for Kubernetes

> Turn Kubernetes service accounts into attested, auto-rotating workload identities, so pods call your services with no stored credential.

Your cluster already knows which pod is which. Use that knowledge as the credential, so no pod has to carry a password, API key or hand-made certificate.

Updated October 24, 2026

Your cluster is like a school that already knows every pupil in every class. Instead of giving each pupil a password to remember, the school office checks the class list and prints a name badge that expires soon, then prints a new one by itself. A badge taken from one pupil does not work for another.

On this page

1. The problem: secrets inside pods
2. The approach
3. How it works
4. What QuorumAuth ships for it
5. What changes for your team
6. Where to go next

From pod to identity, with no stored secret

1. Cluster signs pod token → Node agent verifies it
2. Node agent verifies it → Short-lived SVID key proof
3. Short-lived SVID ↔ Mutual TLS, scoped tokens renews

A flow of four boxes. The cluster signs a short-lived, audience-bound token for the pod. A node agent verifies it where the pod runs. QuorumAuth issues a short-lived SVID, requested with proof of possession. The workload uses it for mutual TLS and scoped tokens, and the SVID renews on its own.

The pod's identity comes from the cluster, so no secret is shipped into it.

## The problem: secrets inside pods

A typical Kubernetes deployment still ships credentials into pods: a database password in a Secret, an API key in an environment variable, a certificate someone generated once and pasted into a chart. Each one can be read by anyone who can exec into the pod or read the namespace, and each one lives far longer than the pod that uses it.

The operational cost compounds. Rotating a credential means updating every chart that mounts it and restarting every pod. A Secret copied into the wrong namespace gives a second workload the first one’s access. When a pod is compromised, the attacker leaves with something that keeps working elsewhere.

## The approach

Kubernetes can already sign a short-lived, audience-bound token that says “this pod runs as this service account”. That is the right root of trust. [Workload identity](https://quorumauth.com/learn/what-is-workload-identity/) builds on it:

1. Verify the cluster-signed token where the pod runs.
2. Issue a short-lived [SVID](https://quorumauth.com/learn/what-is-an-svid/), a standard [SPIFFE](https://quorumauth.com/learn/what-is-spiffe/) identity that any service can check.
3. Use that identity for [mutual TLS](https://quorumauth.com/learn/what-is-mtls/) and for scoped tokens, and let it rotate without anyone touching it.

## How it works

1. **Declare.** You declare the workload once. QuorumAuth derives the SPIFFE identity of every component and refuses a declaration that would derive an identity another owner holds.
2. **Attest.** A node agent checks the pod’s projected service-account token. A wrong audience, or a token lifted from another pod, is rejected, and so is a pod with no matching registry entry.
3. **Issue.** The agent requests an SVID with a proof-of-possession signing request. It cannot issue identities for a workload registered on another node.
4. **Run.** The SDK or the sidecar presents the current SVID. The next connection after a rotation presents the rotated identity, and servers accept peers issued under a rotated trust root.
5. **Change.** Registry updates take effect without a restart. A failed reload leaves the previous registry in place.

How a pod gets its SVID

1. 1 Platform team → QuorumAuth Declare the workload once Collisions are refused
2. 2 Pod → Node agent Projected service-account token
3. 3 Node agent → Node agent Check audience and registry Lifted tokens rejected
4. 4 Node agent → QuorumAuth Request SVID, prove key
5. 5 QuorumAuth → Node agent Sign short-lived SVID
6. 6 Node agent → Pod Current SVID Presented by the SDK or sidecar

A sequence between the platform team, QuorumAuth, a node agent and a pod. The platform team declares the workload once, and a declaration that would collide with another owner's identity is refused. The pod presents its projected service-account token to the node agent. The node agent checks the audience and the registry entry, rejecting a lifted token or an unmatched pod. The node agent requests an SVID with a proof-of-possession signing request. QuorumAuth signs a short-lived SVID. The SDK or sidecar in the pod presents the current SVID.

Every check happens before an identity exists; a lifted token gets nothing.

## What QuorumAuth ships for it

- **Attestation from projected service-account tokens**, producing X.509-SVIDs (no JWT-SVIDs; bearer calls use a short-lived QuorumAuth token). The issued identity names the organization that declared the workload, and DNS names declared on the entry appear as certificate SANs.
- **Declarative workload registration.** Repeating the same declaration is idempotent, stale or conflicting generations are rejected, and a failed reconciliation rolls back as a whole.
- **Container-level precision.** Two containers in one pod can be two identities on one service account. A container the declaration does not name binds nothing.
- **Capabilities, not blanket access.** Declared capabilities become the scopes providers enforce. A capability that was not declared confers nothing.
- **No-code mutual TLS (mTLS).** A Kubernetes native sidecar terminates mutual TLS and relays plaintext loopback traffic, including gRPC, upstream with its live SVID.

## What changes for your team

**Before:** Secrets copied between namespaces, a certificate generated once and forgotten in a chart, and a restart of every pod whenever a credential rotates.

**After:** a pod’s identity comes from the cluster it runs in. It renews on its own, and the next connection after a rotation simply presents the new identity. A credential lifted from one pod does not work from another. The access a workload gets is the set of capabilities it declared, nothing more.

For a CTO, this removes a whole class of long-lived credentials from the estate and makes “which workload can reach which service?” answerable from declarations rather than from tribal knowledge. For platform teams, declarations are idempotent and reconcile atomically, so they fit a GitOps pipeline: a retry does no harm, and a failed change leaves nothing half applied. See [what platform teams stop operating](https://quorumauth.com/platform/). For application teams, the transport the SDK builds needs only the QuorumAuth address and the workload’s own identity.

Kubernetes RBAC still decides who may change your cluster. Cloud instance identities are not attested today; outside Kubernetes, hosts enroll with a bootstrap token instead. Secrets your applications hold for third parties stay where they are; QuorumAuth removes the secrets they use to prove who they are.

## Where to go next

Pick one namespace whose services share a static credential and move it first. Then extend the same identities to service calls with [zero trust service authentication](https://quorumauth.com/solutions/zero-trust-service-authentication/), or to non-Kubernetes callers with [machine-to-machine authentication](https://quorumauth.com/solutions/machine-to-machine-authentication-platform/). Weighing other options? Compare [running SPIRE yourself with hosted SPIFFE](https://quorumauth.com/compare/spire-alternative/), [Okta for people with attested identity for pods](https://quorumauth.com/compare/okta-alternative-for-workload-identity/), or [self-hosted Keycloak with hosted workload identity](https://quorumauth.com/compare/keycloak-vs-quorumauth/).

## Frequently asked questions

What is Kubernetes workload identity?

An identity for a pod that comes from the cluster itself, typically its service account, instead of from a secret mounted into the pod.

Is a Kubernetes service account token enough on its own?

It proves which service account a pod runs as, to whoever trusts that cluster. QuorumAuth turns it into a SPIFFE identity other services and clusters can verify with mutual TLS, scoped to what the workload declared.

Do I need to change application code?

Not for transport. A native sidecar can terminate mutual TLS and relay plain loopback traffic. Services that call QuorumAuth directly use the SDK, which follows identity rotation by itself.

What about machines outside the cluster?

Hosts outside Kubernetes enroll with a per-organization bootstrap token, renew their own identity, and keep it across restarts.

## Related reading

[Learn QuorumAuth What is workload identity?Workload identity lets software prove who it is from where and how it runs, so services stop sharing static API keys and passwords.Read](https://quorumauth.com/learn/what-is-workload-identity/) [Learn QuorumAuth What is SPIFFE?SPIFFE gives every workload a verifiable identity, so services authenticate each other with short-lived certificates instead of shared secrets.Read](https://quorumauth.com/learn/what-is-spiffe/) [Learn QuorumAuth What is an SVID?An SVID is the short-lived document that proves a workload holds a SPIFFE ID. Learn how X.509-SVIDs and JWT-SVIDs work and when to use each.Read](https://quorumauth.com/learn/what-is-an-svid/) [Learn QuorumAuth What is mTLS?Mutual TLS makes both client and server present certificates, so each side proves its identity before any data flows. How it works and where it fails.Read](https://quorumauth.com/learn/what-is-mtls/) [Solutions QuorumAuth Zero trust service authentication Give every service a short-lived, attested identity and mutual TLS, so a stolen credential or a reachable network address no longer grants access.Read](https://quorumauth.com/solutions/zero-trust-service-authentication/) [Solutions QuorumAuth Machine to machine authentication Authenticate services, jobs and scripts with scoped, revocable, short-lived tokens instead of long-lived API keys that leak and never get rotated.Read](https://quorumauth.com/solutions/machine-to-machine-authentication-platform/)

## Worked examples

- [Use cases QuorumAuth What API key rotation costs across 200 service secrets, and what QuorumAuth managed SPIFFE gives back See what rotating long-lived API keys costs an engineering team each year, and how QuorumAuth managed SPIFFE removes stored service secrets.Worked use case: an illustrative business, built from the sources and formulas shown. Not a customer story.Read](https://quorumauth.com/use-cases/static-api-key-replacement/)

## Talk to sales about QuorumAuth.

QuorumAuth is sold through our sales team. The Build page shows the drop-in sign-in on your origin and how to reach sales about your stack.

[Go to Build and contact sales →](https://quorumauth.com/onboarding/)
