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

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.

An SVID, or SPIFFE Verifiable Identity Document, is the credential a workload presents to prove it holds a SPIFFE ID.

Updated October 24, 2026

An SVID is a passport for a piece of software: a trusted office checks which program it really is, then signs a document with its name on it. It comes in two kinds. One is a card the program shows face to face, which is useless without a secret key only that program keeps. The other is a signed note that works for whoever holds it, so it names one reader and expires quickly.

On this page

1. The two SVID formats
2. How an SVID is issued
3. When an SVID is the right credential
4. Pitfalls to avoid
5. How QuorumAuth handles SVIDs

The two SVID formats

X.509-SVID

- Proved by a private key in the TLS handshake
- Low replay risk: the key never leaves the workload
- Ends where TLS is terminated
- Best for service-to-service mTLS

JWT-SVID

- A bearer token: holding it is the proof
- Replayable by anyone holding it until it expires
- Travels in a header through proxies and queues
- Must name its audience in aud

In short Use X.509-SVIDs wherever you control both ends of the TLS connection, and JWT-SVIDs only where you must, with the narrowest audience.

Two columns compare X.509-SVID and JWT-SVID. The X.509-SVID is proved by possession of a private key during the TLS handshake, has low replay risk, does not survive TLS termination, and suits service-to-service mutual TLS (mTLS). The JWT-SVID is a bearer token anyone holding it can present until it expires, travels in a header through proxies and queues, and requires an audience claim.

Both carry the same SPIFFE ID; the X.509 form proves a key, the JWT form is a bearer token that anyone holding it can present.

An SVID is to a workload what a passport is to a traveller: a document, issued by an authority the reader already trusts, that binds a name to the holder. In [SPIFFE](https://quorumauth.com/learn/what-is-spiffe/) the name is a SPIFFE ID such as `spiffe://example.org/billing/worker`, and the authority is the issuer of a trust domain.

The SPIFFE specifications define two SVID formats. Both say the same thing; they differ in how they are presented and how easy they are to misuse.

## The two SVID formats

### X.509-SVID

An X.509-SVID is an ordinary X.509 certificate with a few constraints:

- The SPIFFE ID is placed in a **URI subject alternative name**, and the leaf certificate carries exactly one URI SAN.
- The leaf is not a CA certificate, so it cannot sign other certificates.
- The certificate chains up to a root in the trust domain’s **trust bundle**.

Because it is a certificate, the private key never leaves the workload. The workload proves possession of that key during the TLS handshake, which is why X.509-SVIDs are the default for [mutual TLS](https://quorumauth.com/learn/what-is-mtls/).

You can inspect one with standard tooling:

```
openssl x509 -in svid.pem -noout -ext subjectAltName
# X509v3 Subject Alternative Name:
#     URI:spiffe://example.org/billing/worker
```

### JWT-SVID

A JWT-SVID is a signed JSON Web Token. Its `sub` claim holds the SPIFFE ID, its `aud` claim names the intended recipient, and its `exp` claim bounds its life. Recipients verify the signature against the trust domain’s public keys, which the bundle distributes in the [JWKS](https://quorumauth.com/learn/what-is-a-jwks/) shape.

```
{
  "sub": "spiffe://example.org/billing/worker",
  "aud": ["spiffe://example.org/ledger/api"],
  "exp": 1793000000
}
```

JWT-SVIDs exist for the cases where TLS cannot carry identity end to end, for example when a load balancer terminates TLS, or when a request crosses a message queue.

### X.509-SVID vs JWT-SVID

|  | X.509-SVID | JWT-SVID |
| --- | --- | --- |
| Proof | Possession of a private key, in the TLS handshake | Possession of the token (bearer) |
| Replay risk | Low; key never leaves the workload | Real; anyone holding the token can present it until `exp` |
| Survives TLS termination | No | Yes, travels in a header |
| Audience binding | Not built in | Required `aud` claim |
| Best for | Service-to-service mTLS | Calls through proxies, queues, or HTTP gateways |

The rule of thumb: use X.509-SVIDs wherever you control both ends of the TLS connection, and JWT-SVIDs only where you must, with the narrowest audience possible.

## How an SVID is issued

1. The workload calls the local Workload API, typically over a Unix socket.
2. The node agent attests the caller: which process, which container, which service account.
3. If the evidence matches a registration entry, the workload generates a key pair and the agent forwards a certificate signing request to the issuer.
4. The issuer signs an X.509-SVID for the registered SPIFFE ID, or a JWT-SVID for the requested audience.
5. The workload receives the SVID and the trust bundles it should accept, then keeps a stream open so it hears about renewals and bundle changes.

Renewal repeats steps 3 and 4 well before expiry. Nothing is copied by hand.

How an SVID is issued

1. Workload asks local API → Agent attests the caller socket
2. Agent attests the caller → Own key, signing request matches
3. Own key, signing request → Issuer signs the SVID
4. Issuer signs the SVID → SVID and bundles Renewed before expiry

The workload calls the local Workload API. The node agent attests the caller. If the evidence matches a registration entry, the workload generates a key pair and the agent forwards a certificate signing request. The issuer signs the SVID. The workload receives the SVID and trust bundles, and renews well before expiry by repeating the signing request.

Nothing is copied by hand: the workload makes its own key, and renewal repeats the request well before expiry.

## When an SVID is the right credential

Use SVIDs when the caller is software: a microservice, a batch job, a CI runner, an agent on a host. SVIDs suit fleets where you cannot afford to distribute and rotate per-service secrets, and where you want audit trails to name the actual workload. They are not meant for people; a person signs in with a [passkey](https://quorumauth.com/learn/what-is-a-passkey/) or another sign-in method.

## Pitfalls to avoid

- **Reading the Common Name.** Identity is the URI SAN. Code that reads the certificate CN, or matches only the hostname, misses the point of the SVID.
- **Skipping chain validation.** Parsing the SPIFFE ID out of an unverified certificate tells you only what the presenter claims.
- **Caching the bundle forever.** Roots rotate. A verifier that never refreshes the bundle will eventually reject valid peers or keep trusting a retired root.
- **Wide JWT-SVID audiences.** A JWT-SVID with a broad `aud` can be replayed at every service that accepts that audience.
- **Logging tokens.** A JWT-SVID in a log line is a usable credential until it expires.

## How QuorumAuth handles SVIDs

QuorumAuth issues X.509-SVIDs through its own SPIFFE authority and agent. It does not issue JWT-SVIDs; a workload that asks for one is told this profile issues none. For calls that need a bearer token, it issues its own short-lived token instead (last point below). In its tested behaviour:

- A Kubernetes workload with a projected service account token receives an X.509-SVID over the agent socket; a workload without one is refused.
- Issuance works by certificate signing request. The response holds a certificate chain whose SPIFFE ID matches the requested identity, and never a private key. A tampered request is rejected.
- A workload whose registration declares a DNS name gets it as an extra SAN; one that declares none is named by its own Kubernetes Service.
- Every issued SVID names the organization that declared the workload, and names its issuer by key identifier.
- The client library watches the Workload API so a current SVID is always available, and node SVID renewal is refused to anything that is not the node holding it.
- A workload can trade its SVID for a short-lived QuorumAuth bearer token that carries the scopes mapped to its SPIFFE ID. That bearer never outlives the SVID that obtained it, and an unknown SPIFFE ID is refused.

Already issuing SVIDs with SPIRE? See [how SPIRE and hosted SPIFFE compare](https://quorumauth.com/compare/spire-alternative/).

## Frequently asked questions

Is an SVID a certificate?

An X.509-SVID is a certificate. A JWT-SVID is a signed JSON Web Token. Both carry the same SPIFFE ID and prove the same thing.

Where does the SPIFFE ID sit in an X.509-SVID?

In a URI subject alternative name. An X.509-SVID carries exactly one URI SAN, and that URI is the SPIFFE ID.

How long should an SVID live?

Short enough that a leaked one stops working soon. Lifetimes of minutes to hours, with automatic renewal well before expiry, are typical.

Can an SVID carry permissions?

The SVID itself carries identity, not permissions. Authorization is decided by policy or by a separate scoped token issued against the SVID.

## 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 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 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 a JWKS?A JWKS publishes the public keys that verify an issuer's tokens. Learn the RFC 7517 format, how kid lookup and rotation work, and common mistakes.Read](https://quorumauth.com/learn/what-is-a-jwks/) [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/)

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