Guide, sources citedLast checked 16 October 2026 with AI-assisted research. Editor: Akshay Dubey.Corrections logEditorial policy
On this page
  1. What SPIFFE is
  2. Why it matters
  3. SPIFFE IDs & trust domains
  4. SVIDs
  5. Attestation
  6. SPIRE architecture
  7. Deployment patterns
  8. Production considerations
  9. Relationship to WIMSE
  10. Primary sources
  11. FAQ

TL;DR

  • SPIFFE is a spec; SPIRE is its reference implementation; both are CNCF-graduated (2022).
  • The core primitives: SPIFFE ID (a URI identifying a workload), SVID (an X.509 cert or JWT carrying that ID), trust domain (the scope of issuance authority).
  • Identity is bound to the workload via attestation, infrastructure-level proofs rather than shared secrets.
  • Typical deployment: one SPIRE server per trust domain, SPIRE agents per node, attestation plugins for AWS, GCP, Azure, Kubernetes, Docker.
  • Relationship to WIMSE: complementary. SPIFFE is deployable today; IETF WIMSE is standards work whose documents were all still Internet-Drafts on 16 October 2026.

The official documentation is on spiffe.io: the SPIFFE overview, SPIFFE concepts and SPIRE concepts. This page summarises them for governance teams and is not project documentation.

What SPIFFE is

SPIFFE, the Secure Production Identity Framework For Everyone, is an open specification published by the SPIFFE project, a CNCF Graduated project as of 2022. It defines:

  • A naming scheme for workload identities (the SPIFFE ID)
  • Document formats for carrying those identities (SVIDs, X.509 or JWT)
  • A protocol for issuing those documents to workloads (the Workload API)
  • The concept of a trust domain, the scope within which a SPIFFE ID is meaningful and authoritative

The core idea is that a workload, a process running somewhere, should authenticate itself not by presenting a shared secret (which can leak, can be copied, can outlive its purpose) but by presenting cryptographic evidence tied to its runtime. SPIFFE defines how that evidence is structured. SPIRE, the SPIFFE Runtime Environment, is the reference implementation that actually delivers SVIDs to workloads.

Why it matters for NHI

SPIFFE/SPIRE addresses several of the OWASP NHI Top 10 risks at once:

  • NHI2 (Secret leakage): there is no long-lived secret to distribute. The workload's identity credential (SVID) is issued fresh and short-lived. An issued SVID can still be stolen and replayed until it expires: the JWT-SVID specification notes that, being a bearer token, a JWT-SVID is susceptible to replay attacks, and recommends an aggressive expiry.
  • NHI4 (Insecure authentication): mTLS via X.509-SVIDs is a modern, properly-authenticated pattern.
  • NHI7 (Long-lived secrets): SVIDs typically have TTLs measured in hours. Rotation is automatic.
  • NHI8 (Environment isolation): trust domains separate environments by construction.
  • NHI9 (NHI reuse): each workload has its own SPIFFE ID; identity is workload-specific.

SPIFFE IDs and trust domains

A SPIFFE ID is a URI that identifies a workload. It has the form:

spiffe://trust-domain/workload-path

For example: spiffe://prod.example.com/ns/finance/sa/invoicer. The trust domain (prod.example.com) is the scope of issuance authority, a SPIRE server is the authoritative source for SPIFFE IDs under that domain. The workload path is organisation-defined and typically encodes the workload's namespace and service account or equivalent.

Trust domains are significant architectural units: they partition the identity issuance authority. Common choices are one trust domain per environment (prod, staging, dev) or one per organisational unit, federated where cross-domain trust is needed.

SVIDs, SPIFFE Verifiable Identity Documents

An SVID is the artefact a workload presents to prove its identity. Two forms:

  • X.509-SVID: an X.509 certificate where the SPIFFE ID appears in the URI Subject Alternative Name field. Used for mTLS.
  • JWT-SVID: a JWT with the SPIFFE ID in the sub claim. Used for application-layer authentication where mTLS is not available.

SVIDs are issued with short TTLs (the SPIRE server defaults are one hour for X.509-SVIDs and five minutes for JWT-SVIDs) and rotated transparently by the SPIRE agent running alongside the workload. The workload consumes SVIDs through the Workload API, a gRPC interface that the local SPIRE agent exposes on a Unix domain socket (a named pipe on Windows).

Node and workload attestation

SPIRE's defining feature is attestation, the process by which the SPIRE server verifies that a workload requesting an SVID is actually who it claims to be. Attestation happens in two layers:

  • Node attestation: the SPIRE agent, running on the node, proves to the SPIRE server that it is legitimately running on the expected infrastructure. Built-in node attestor plugins include AWS IID, GCP IIT, Azure MSI and IMDS, Kubernetes PSAT, TPM DevID, X.509 and SSH proof of possession, and join tokens.
  • Workload attestation: the SPIRE agent, having been attested, attests each local workload based on properties the infrastructure exposes, process metadata (UID, GID, executable path), Kubernetes pod labels, Docker container labels, etc.

The combined attestation path means the SPIRE server issues an SVID to a workload only when both the node and the workload itself match registered selectors. With platform attestors the proof is infrastructural rather than a shared secret. The join token attestor is the exception: the SPIRE server documentation describes server-generated join tokens used to bootstrap an agent, which makes the token a pre-shared bootstrap secret for its (short) lifetime.

SPIRE architecture at a glance

  • SPIRE server: the trust-domain authority. Holds the signing key material for the trust domain. Manages the registry of authorised workload entries.
  • SPIRE agent: runs on each node. Attests to the server, then attests local workloads, then delivers SVIDs via the Workload API.
  • Workload API: the gRPC interface through which workloads request SVIDs. Exposed locally by the agent.
  • Registration entries: the set of rules that say "a workload matching these selectors should receive an SVID with this SPIFFE ID."

Common deployment patterns

  • Kubernetes: SPIRE deployed as a StatefulSet (server) + DaemonSet (agent). Node attestation via PSAT (projected service account tokens); workload attestation via the Kubernetes workload attestor.
  • Service mesh integration: Istio, Linkerd, and Consul can all use SPIFFE IDs as the underlying identity primitive for mesh mTLS. In some configurations the mesh's own sidecar fetches SVIDs from SPIRE.
  • Multi-cloud: one trust domain per cloud, federated via SPIFFE Federation (the mechanism by which two trust domains recognise each other's SVIDs).
  • Edge workloads / VMs: SPIRE agent deployed on the host, attesting via TPM or cloud-native instance identity mechanisms.

Production considerations

  • HA SPIRE server: SPIRE server supports high availability via shared datastore (typically Postgres). Treat the SPIRE server as the PKI for your workload identity, the same operational rigour applies.
  • Trust domain strategy: decide early. Merging trust domains later is hard. One per environment is a reasonable starting point.
  • Registration automation: manual registration doesn't scale. Integrate with your IaC so that workload-to-SPIFFE-ID mappings are declarative.
  • TTL tuning: the default 1-hour X.509-SVID TTL is a good starting point. Shorter TTLs reduce revocation exposure; longer TTLs reduce control-plane load.
  • Observability: SPIRE emits Prometheus metrics; alert on SVID issuance failures, agent disconnects, and unexpected registration changes.

Relationship to IETF WIMSE

SPIFFE is a deployable open-source specification maintained by the CNCF SPIFFE project. WIMSE (Workload Identity in Multi-System Environments) is a newer IETF working group formalising related concepts at the protocol level. The two are complementary. The WIMSE Workload Identifier draft (draft-ietf-wimse-identifier-03, 6 July 2026) defines a wimse URI scheme and allows other schemes, naming spiffe as an example. SPIFFE and SPIRE are in production use today, while the WIMSE documents are still drafts.

For the moment, our advice is to treat SPIFFE/SPIRE as the production system and watch WIMSE as it matures. See our WIMSE page for the standards view.

Primary source

spiffe.io, the canonical documentation. Always defer to the current spec and SPIRE release notes rather than any third-party summary, including this one.

Frequently asked questions

What is SPIFFE?

SPIFFE (Secure Production Identity Framework For Everyone) is an open standard for giving workloads cryptographic identities that are derived from the runtime rather than issued as static secrets. A workload proves what it is through attestation, and receives a short-lived credential called an SVID. SPIRE is the reference implementation. It is a CNCF graduated project.

What is an SVID?

An SVID is a SPIFFE Verifiable Identity Document: the credential a workload receives after attestation. It comes in two forms, an X.509 certificate or a JWT, and it encodes a SPIFFE ID of the form spiffe://trust-domain/workload-path. SVIDs are deliberately short-lived, typically minutes to hours, so that theft has a bounded window and rotation is continuous rather than an event.

What is the difference between SPIFFE and SPIRE?

SPIFFE is the specification: the identity format, the SVID document types, and the Workload API that workloads call to obtain credentials. SPIRE is the production implementation of that specification, providing the server, the node and workload attestation plugins, and the registration model. You adopt SPIFFE as a design and usually run SPIRE to deliver it, though other implementations exist including managed offerings from cloud providers and service meshes.

What is a SPIFFE trust domain?

A trust domain is the boundary within which a SPIFFE ID is unique and within which credentials are issued under a common authority. It appears as the authority component of a SPIFFE ID, for example spiffe://prod.example.com/service/payments. Federating two trust domains lets workloads in each authenticate to the other without merging their issuance authorities, which is how multi-cloud and cross-organisation workload authentication is normally structured.

How does SPIFFE work with Istio or a service mesh?

Service meshes were among the earliest large-scale SPIFFE consumers. Istio issues SPIFFE-format identities to sidecars and uses them for mutual TLS between services, so mesh-internal traffic is authenticated by workload identity rather than by network position. If you already run a mesh you may have SPIFFE identities without having adopted SPIFFE deliberately, which is worth checking before starting a separate workload identity project.

Should we deploy SPIFFE now or wait for the IETF WIMSE standard?

Our advice is to deploy now. No WIMSE document is an RFC yet: as of October 2026 all are Internet-Drafts, and one informational document, on workload identity practices, was submitted to the IESG on 30 June 2026. The WIMSE drafts reference SPIFFE constructs, so in our view a SPIFFE deployment is unlikely to be a dead end. Waiting means continuing to run static long-lived secrets for an indefinite period. See our page on IETF WIMSE for the current draft family and status.

Does SPIFFE work outside Kubernetes?

Yes. SPIRE ships attestation plugins for cloud compute instances, bare metal, and Unix processes as well as Kubernetes, and it is regularly used for virtual machines and on-premise workloads. Kubernetes is a common starting point because its projected service account tokens make attestation straightforward, but the model does not depend on it.

Is SPIFFE an official standard?

SPIFFE is an open specification maintained by the SPIFFE project, whose graduation the Cloud Native Computing Foundation announced on 20 September 2022. It is not an IETF RFC or an ISO standard. The canonical documentation is on spiffe.io and the specification documents are in the spiffe/spiffe GitHub repository. Related IETF work happens in the WIMSE working group, whose documents are still drafts.

What does WIMSE use if SPIRE uses SPIFFE?

WIMSE drafts define their own identifier and credential formats: a Workload Identifier URI with a wimse scheme, and two credentials, a JWT-based Workload Identity Token and an X.509 Workload Identity Certificate. The identifier draft also allows other URI schemes and names spiffe as an example. None of these drafts is an RFC yet.

Who uses SPIFFE and SPIRE in production?

The CNCF graduation announcement of 20 September 2022 names end users including Anthem, Bloomberg, ByteDance, GitHub, Netflix, Niantic, Pinterest, Twilio and Uber, and says ByteDance used the projects to secure hundreds of thousands of workloads. It also lists integrations with Envoy, gRPC, Istio, Kubernetes, Sigstore and Tekton. These are the projects' own 2022 statements, not a current adopter count.

Should we use X.509-SVIDs or JWT-SVIDs?

SPIFFE's documentation advises using X.509-SVIDs whenever possible, because tokens can be replayed if intercepted. Over mutual TLS the workload must also prove it holds the private key, and SPIRE rotates the certificate automatically. The documentation names one case for JWT-SVIDs: an L7 proxy or load balancer between two workloads. The JWT-SVID specification recommends an aggressive expiry, so keep JWT-SVID lifetimes short.

Can SPIFFE help with compliance or audit evidence?

It can supply evidence, though we found no law or regulation that names SPIFFE. NIST SP 800-53 IA-9 asks organisations to uniquely identify and authenticate services, and the UK NCSC zero trust principles suggest a unique certificate per service for mutual TLS. In our interpretation, SPIRE registration entries, attestation selectors and SVID issuance logs can show that. Map them to your own control set before an audit.

Primary sources

Sources are listed below. Where a figure is vendor-published or reported rather than formally disclosed, the entry says so.

From the publisher

HumanAudit, which publishes this site, is preparing the NHI Governance pack: an NHI policy, ownership register, lifecycle procedures and one control set mapped, as our interpretation, to PCI DSS v4.0.1, ISO/IEC 27001:2022, NIS2 and DORA. Planned for March 2027; not yet on sale, and no price has been published.

Monthly change log

Know when the NHI landscape changes.

One email a month from this reference: new deals, standards status changes and corrections. No sponsored content. Unsubscribe from any email.

We first email you a link to confirm. Privacy policy.