Trusting the network, or trusting proof
Trust the network
- Anyone who can reach the service gets an answer
- Shared API keys or static certificates
- Rotated by hand, redeploying every copy
- One compromised pod can call everything it routes to
Zero trust
- Every call carries proof of who is calling
- Identity comes from where the workload runs
- Short-lived credentials renew themselves
- Both ends verify each other with mutual TLS
In short Reaching a service no longer grants access; proving who you are does.
Two columns. When you trust the network, anyone who can reach a service gets an answer, authentication is a shared API key or static certificate, rotation is by hand and means redeploying every copy, and one compromised pod can call every service it can route to. With zero trust service authentication, every call carries proof of the caller's identity, identity comes from where the workload runs, credentials are short-lived and renew themselves, and both ends verify each other with mutual TLS.
The problem: the network is not a credential
Most internal APIs still trust whoever can reach them. A service sits behind a firewall or inside a cluster, and any caller on that network gets an answer. Where there is authentication, it is usually a shared API key or a static certificate, copied into environment variables, CI secrets and wiki pages.
The cost shows up at the worst moment. One compromised pod can call every service it can route to. A leaked key works until someone notices and rotates it by hand, and rotating it means redeploying everything that holds a copy. After an incident, nobody can say with confidence which service called which.
Zero trust service authentication removes the network from the trust decision. Every call carries proof of the caller’s identity, that proof is short-lived, and nothing long-lived sits on disk to steal.
The approach
Three rules, applied to every service:
- Identity comes from where the workload runs, not from a secret you distribute. The platform attests the workload; the workload never holds a password.
- Credentials expire quickly and renew themselves. A leaked credential stops working soon after it leaks, and nobody rotates anything.
- Both ends verify. Services authenticate each other with mutual TLS, and every request token is checked for scope and revocation.
This is the model the SPIFFE standard describes, and the one QuorumAuth implements.
How it works
- Attest. A node agent checks the workload’s Kubernetes projected service-account token. A token with the wrong audience, or one stolen from another pod, is rejected. Hosts outside the cluster enroll with a per-organization bootstrap token that can be rotated and expires.
- Issue. The workload proves it holds its private key with a certificate signing request, and receives an SVID: a short-lived X.509 certificate naming its SPIFFE ID. A workload with no registry entry gets nothing.
- Connect. Services open mutual TLS with their SVIDs. Certificates from a foreign root are rejected.
- Authorize. The workload exchanges its SVID, over mutual TLS (mTLS), for a scoped token. The SDK refreshes that token in the background before it expires and verifies incoming tokens locally, without a round trip.
- Revoke. Revocations stream to every SDK. A revoked token is refused even by an SDK that has lost contact with the authority.
For the topology behind these steps, see the architecture: local checks and fail-closed revocation.
One service calling another
- 1Service A → Node agentProjected service-account tokenWrong audience: rejected
- 2Node agent → QuorumAuthSigning request, proof of keyNo registry entry, no SVID
- 3QuorumAuth → Service AShort-lived SVID
- 4Service A → Service BOpen mutual TLSForeign roots rejected
- 5Service A → QuorumAuthExchange SVID for token
- 6Service B → Service BVerify token locallyRevoked: refused offline too
A sequence between service A, a node agent, QuorumAuth and service B. Service A presents its projected service-account token to the node agent, which rejects a wrong audience or a stolen token. The node agent sends a signing request with proof of possession; a workload with no registry entry gets nothing. QuorumAuth returns a short-lived SVID. Service A opens mutual TLS with service B, which rejects certificates from a foreign root. Service A exchanges its SVID for a scoped token over mutual TLS. Service B verifies the token locally and refuses a revoked token even without contact with the authority.
What QuorumAuth ships for it
- Attested workload identity. X.509-SVIDs issued only after Kubernetes projected-token attestation and a proof-of-possession request. A tampered request is rejected.
- Hard organization boundaries. The organization is part of every SPIFFE path. An agent cannot issue identities for a workload registered on another node, and a compromised agent cannot issue identities across the organization boundary.
- mTLS without rewriting apps. A sidecar terminates mutual TLS and relays plaintext loopback traffic, including gRPC over HTTP/2, using its live SVID.
- Scoped tokens from identity. SVID-to-token exchange refuses an unregistered SPIFFE ID and a SPIFFE ID with no scope grants. Every issued token carries the nonce that revokes it.
- Fail-closed verification. Local verification rejects tampered and revoked tokens. When revocation state is unknown, the SDK presents no token rather than guess.
- Bring your own trust domain. Register an existing SPIFFE trust domain and map its IDs to principals. A trust domain another organization already holds cannot be claimed twice.
What changes for your team
Before: a shared key per integration, rotated when someone remembers, and an incident review that starts with “which services had that key?”
After: each service has its own identity, scoped to what it declared. There is no static service credential to leak, so there is none to rotate by hand. When a token must stop working, you revoke it and every verifier refuses it, including one that has lost contact with the authority. Organization boundaries hold even if a node agent is compromised.
For a CTO, the result is a smaller blast radius per incident and a shorter answer to the auditor’s question “how do your services authenticate each other?” For platform teams, it is one identity model for every service instead of a different secret format per integration, and less for the platform team to operate. For application teams, adopting it can be as small as adding a sidecar: the app keeps speaking plain HTTP or gRPC to localhost, and the sidecar handles mutual TLS with an identity that renews itself.
Your mesh or ingress keeps routing and load-balancing traffic, and firewall rules and Kubernetes NetworkPolicy remain useful as defence in depth. Automatic attestation covers Kubernetes projected service-account tokens; hosts outside Kubernetes use a bootstrap token instead. User sign-in is a separate flow; see passwordless authentication.
Where to go next
If your services authenticate with shared keys today, start with the services that hold the most sensitive data. Read how workload identity on Kubernetes is set up, or how the same identities drive machine-to-machine authentication. For the wider model, see zero trust authentication. If you already run SPIRE, see how SPIRE compares with hosted SPIFFE.
Frequently asked questions
Is zero trust service authentication the same as a service mesh?
No. A mesh routes traffic. Zero trust authentication decides whether the caller is who it claims to be. QuorumAuth issues and verifies identities; it works with or without a mesh.
Do my applications need to speak mutual TLS themselves?
No. An mTLS-terminating sidecar can accept plain loopback traffic from your app, including gRPC over HTTP/2, and carry it to the upstream over mutual TLS with the sidecar's live identity.
What happens if the authority is unreachable?
Verification fails closed. A token whose revocation state the SDK cannot establish is refused, and a revoked token is still refused by an SDK that cannot reach the authority.
Can I keep a SPIFFE trust domain I already run?
Yes. You can register an existing SPIFFE trust domain as a trust provider and map its SPIFFE IDs to principals in your organization.