1. [Home](https://quorumauth.com/) /
2. [Learn](https://quorumauth.com/learn/) /
3. What is workload identity?

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.

Workload identity is a verifiable identity issued to a running piece of software, based on facts the platform can check about it.

Updated October 24, 2026

At a festival you do not get a wristband by saying a password: staff check you against the guest list, then snap on a wristband that only works for a short time. Workload identity does the same for programs. The platform checks facts about the running program, such as where it runs and which account it runs as, and hands it a short-lived badge. Nothing secret was copied into the program, so nothing secret can leak from it.

On this page

1. Why static secrets fail at scale
2. How workload identity works
3. Standards and implementations
4. When to adopt workload identity
5. Pitfalls
6. How QuorumAuth handles workload identity

How a workload gets its identity

1. Platform collects evidence → Issuer matches entry The workload starts with no credential
2. Issuer matches entry → Short-lived cert or JWT signs
3. Short-lived cert or JWT ↔ mTLS or scoped tokens renews

The workload starts with no credential of its own. The platform attests it by collecting evidence such as its namespace, service account and projected token. An issuer matches the evidence to a registration and signs a short-lived X.509 certificate or JWT. The workload uses it for mutual TLS or to request scoped tokens, and renews it before expiry.

The platform checks what the workload is, not what it knows, and the credential renews itself before it expires.

Every service that calls another service has to say who it is. For years the answer was a secret: an API key in an environment variable, a password in a config map, a client secret in a CI variable. Workload identity changes the question. Instead of asking the workload to know something, the platform checks what the workload is, and issues it a credential on that basis.

## Why static secrets fail at scale

A static secret has no idea who is holding it. If it leaks from a log, a laptop, or a container image, it works just as well for the attacker. It usually lives for months because rotating it means touching every place it was copied. And when several services share one key, an audit trail can only tell you that “the key” did something, not which service.

Workload identity targets each of those weaknesses:

- **Bound to evidence.** The credential is issued only after the platform checks attributes of the running process.
- **Short-lived.** It expires in minutes or hours and renews automatically.
- **Per workload.** Each service gets its own identity, so logs and policies name it precisely.

Static secret vs workload identity

Static secret

- Works for whoever holds it
- Usually lives for months
- Shared, so logs only say the key acted

Workload identity

- Issued only after checking evidence
- Expires in minutes or hours, renews itself
- One identity per workload, named in logs

In short Ask the platform what the workload is, instead of asking the workload what it knows.

Two columns. A static secret works just as well for an attacker who finds it, usually lives for months, and when shared lets logs say only that the key did something. A workload identity is issued only after the platform checks evidence about the running process, expires in minutes or hours and renews automatically, and gives each service its own identity that logs and policies name precisely.

A static secret works for whoever holds it; a workload identity is issued only to the workload the evidence describes.

## How workload identity works

The pattern is the same across implementations.

1. **The workload starts** with no credential of its own.
2. **The platform attests it.** An agent or the platform’s own control plane collects evidence: the Kubernetes namespace and service account, a projected service account token, a cloud instance identity document, or a process attribute on the host.
3. **An issuer matches the evidence to a registration.** A registration says “a pod in namespace `payments` running as service account `api` is `spiffe://example.org/payments/api`”.
4. **The issuer signs a short-lived credential**, such as an X.509 certificate or a signed JWT.
5. **The workload uses it** to open [mutual TLS](https://quorumauth.com/learn/what-is-mtls/) connections or to request scoped tokens, and renews it before expiry.

### A Kubernetes example

Kubernetes can project a service account token into a pod with a specific audience and a short lifetime. That token is the attestation evidence:

```
volumes:
  - name: workload-token
    projected:
      sources:
        - serviceAccountToken:
            path: token
            audience: example.org
            expirationSeconds: 3600
```

An agent on the node reads the calling pod’s token, verifies it with the Kubernetes API, and checks that its audience and pod binding match. Only then does the workload receive its identity document.

## Standards and implementations

| Approach | What identifies the workload | Typical credential |
| --- | --- | --- |
| [SPIFFE](https://quorumauth.com/learn/what-is-spiffe/) | Attested selectors mapped to a SPIFFE ID | [SVID](https://quorumauth.com/learn/what-is-an-svid/): X.509 certificate or JWT |
| Kubernetes projected tokens | Pod, namespace, service account | Audience-bound, time-bound JWT |
| Cloud provider workload identity | Instance, function, or role metadata | Provider-signed token, exchanged for cloud credentials |
| Workload identity federation | A token from one issuer trusted by another | Exchanged short-lived access token |

These approaches combine. A common design attests pods with projected tokens, issues SPIFFE IDs on top, and federates those IDs into other systems through [token exchange](https://quorumauth.com/learn/what-is-oauth-token-exchange/).

## When to adopt workload identity

Adopt it when you run more than a handful of services, when secrets rotation has become a manual project, when auditors ask which service accessed which data, or when you are moving to [zero trust authentication](https://quorumauth.com/learn/what-is-zero-trust-authentication/) and can no longer treat the internal network as a credential.

It belongs to the wider family of [non-human identity](https://quorumauth.com/learn/what-is-non-human-identity/): workloads, service accounts, bots, and automation that act without a person at the keyboard. For callers that still hold a stored API key, see [service accounts without a stored API key](https://quorumauth.com/guides/service-account-without-api-key/).

## Pitfalls

- **Coarse registrations.** If every pod in a namespace maps to one identity, a compromise of the weakest pod speaks for all of them.
- **Audience-less tokens.** A projected token without a specific audience can be replayed against any service that accepts tokens from the cluster.
- **Identity without authorization.** Knowing who is calling is step one. You still need policy, or scoped tokens, to decide what it may do.
- **Fallback secrets.** Keeping the old API key “just in case” leaves the original risk in place.
- **Hosts outside the platform.** VMs and bare-metal machines need their own enrollment path, or they become the place static secrets survive.

## How QuorumAuth handles workload identity

QuorumAuth issues workload identities through its SPIFFE authority. In its tested behaviour:

- A pod presenting a projected service account token gets an identity document with the expected SAN. A token whose audience does not match is refused, and a token stolen from another pod is refused.
- A workload with no matching registration entry gets nothing, and an agent cannot issue identities for a workload registered on another node.
- The workload generates its own key; the authority signs a certificate request and never returns a private key.
- Hosts outside the cluster enroll with their tenant’s rotating bootstrap token, then renew their own identity with no cloud identity required.
- **Federation.** A service account can enroll an external OIDC identity, such as a CI provider’s issuer and subject, and hold no key at all. A workload then signs in as that account with a token from its issuer. A token for another subject, from an issuer the account did not enroll, or addressed to another audience is refused, and each token is spent by its first exchange. Issuers must be HTTPS.
- The SDK owns the workload’s identity and trust rotation when it connects to QuorumAuth, and refuses a plaintext connection.
- Capabilities a workload declares on its registration become the scopes it is issued; a capability it did not declare confers nothing, and an unknown capability is refused.
- A workload can exchange its identity for a short-lived access token that never outlives the identity document that obtained it.

On Kubernetes, these pieces add up to [workload identity with no static secrets for any pod to carry](https://quorumauth.com/solutions/workload-identity-for-kubernetes/).

## Frequently asked questions

Is workload identity the same as a service account?

Not quite. A service account is an account record. Workload identity is the credential a running process receives after the platform checks that it really is the software that account belongs to.

Does workload identity remove every secret?

It removes the long-lived secrets copied into configuration. Short-lived keys still exist, but the platform issues and rotates them for the workload.

What is workload identity federation?

Trust between two identity systems, so a workload holding an identity from one, for example a Kubernetes cluster, can obtain credentials from another without a stored secret.

Can a workload identity be stolen?

A short-lived credential can be, but it stops working at expiry, and good issuers bind it to evidence an attacker on another machine cannot reproduce.

## Related reading

[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 a non-human identity?A non-human identity (NHI) is an identity software uses to act without a person: service accounts, workloads, API keys, bots. Examples, risks and controls.Read](https://quorumauth.com/learn/what-is-non-human-identity/) [Learn QuorumAuth What is machine-to-machine authentication?Machine-to-machine authentication lets services prove who they are to each other. Compare API keys, client credentials, JWT assertions and mutual TLS (mTLS).Read](https://quorumauth.com/learn/what-is-machine-to-machine-authentication/) [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/) [Learn QuorumAuth What is zero trust authentication?Zero trust authentication verifies every user and workload on every request, instead of trusting the network. Principles, architecture and pitfalls.Read](https://quorumauth.com/learn/what-is-zero-trust-authentication/) [Guides QuorumAuth Run service accounts without a stored API key Stop storing API keys for CI jobs and services. Exchange a token your OIDC issuer already mints, or sign one-time assertions with a key that never leaves.Read](https://quorumauth.com/guides/service-account-without-api-key/)

## 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/)
