SPIRE vs. PKI: What Is the Difference?

SPIRE and a PKI solve different problems at different layers. Understanding where they overlap, and where JoinNow Dynamic PKI still owns network authentication, keeps a workload identity rollout from creating a gap.

SPIRE does not replace your certificate authority; it acts as a subordinate layer beneath it.
Key Takeaways
  • SPIRE is a SPIFFE implementation that issues short-lived workload identities; PKI provides longer-lived certificates for users and devices.
  • SPIRE chains to an existing CA through UpstreamAuthority plugins like disk or aws_pca.
  • SVIDs rely on rotation because they expire quickly, unlike traditional PKI which uses revocation lists and OCSP checks.

Engineers in the first stages of implementing SPIFFE often ask whether SPIRE replaces their public key infrastructure (PKI). In fact, the two systems are designed to complement each other.

SPIRE and PKI have several fundamental differences. SPIRE relies on short-lived token expiration to limit damage if a token is compromised, whereas public PKI depends on Certificate Revocation Lists (CRLs) or Online Certificate Status Protocol (OCSP) responses. Issuance protocols also diverge as SPIRE uses attestation for identity proofing and PKI utilizes enrollment requests from clients.

Likewise, SPIFFE Verifiable Identity Documents (SVIDs) are designed for internal workloads, while traditional PKI certificates are designed for identity management across users and devices. Credential lifetimes differ significantly because SVIDs expire quickly while traditional PKI credentials live longer.

The systems fit together very effectively, because SPIRE chains to an existing certificate authority (CA) through UpstreamAuthority plugins like disk or aws_pca. This architecture allows workloads to trust identities issued by the organization’s central root without replacing legacy infrastructure entirely.

This article explores the key differences between SPIRE and PKI, and explains how to run SPIRE alongside PKI.

What Are SPIFFE and SPIRE?

SPIFFE is a set of open-source specifications designed to bootstrap identity for services across heterogeneous environments. The standard defines how workloads obtain SVIDs while remaining independent from any specific software implementation.

SPIRE serves as one such implementation, though other tools like cert-manager and Istio also support these protocols.

A typical SPIRE deployment includes a signing server that issues credentials alongside an agent running on every node where workloads reside. Workloads fetch their SVIDs from the agent through the SPIFFE Workload API, allowing services to trust identities without needing deep knowledge of the underlying software. Consequently, applications become SPIFFE-aware rather than tied exclusively to one vendor’s stack.

The specification currently defines three SVID formats: X509-SVID, JWT-SVID and WIT-SVID. For more on these mechanisms, read the SPIFFE and SPIRE guide.

The diagram illustrates how SPIRE sits beneath your organization’s existing CA

diagram illustrating how SPIRE operates beneath an organization’s root CA to issue short-term certificates, while a traditional PKI branch issues longer-term certificates

See your security gap before attackers do.

See continuous trust in action on a platform that includes RADIUS, PKI and AI security.

Customize Your Video Demo

SPIRE vs. PKI: Does SPIRE Replace Your CA?

SPIRE Server utilizes UpstreamAuthority plugins to integrate with existing infrastructure.

The disk plugin loads certificate authority credentials from storage and generates intermediate signing certificates for the SPIRE Server signing authority.

This mechanism allows the system to act as a root certificate authority or join an established PKI via a trust bundle file. Alternatively, organizations deploy the aws_pca UpstreamAuthority plugin to obtain intermediate certificates from AWS Certificate Manager Private Certificate Authority.

SPIFFE prefers X509-SVIDs between workloads because an intercepted JWT-SVID can be replayed. X.509 is the same technology behind Wi-Fi authentication with the Extensible Authentication Protocol (EAP), but SPIFFE applies it to service-to-service communication.

Using SPIFFE does not require running SPIRE. Other platforms such as cert-manager, Consul or Dapr implement some or all SPIFFE functionality alongside dedicated runtime environments.

SPIRE vs. PKI: Key Differences

SPIRE distinguishes itself from traditional PKI through its approach to identity and credential management for machine-to-machine communication, as the table explains.

Factor

SPIRE (SVIDs)

Traditional PKI

Identifies

Workloads (services and processes)

Users, devices and servers

Default lifetime

X509-SVID 1 hour, JWT-SVID 5 minutes

Public TLS certificates max out at 200 days since March 15, 2026; private CA lifetimes follow organization policy

Issuance trigger

The agent and server attest the node; the agent then attests the workload before handing it an SVID

Clients enroll with a certificate authority using protocols such as Automatic Certificate Management Environment (ACME) or Simple Certificate Enrollment Protocol (SCEP)

Revocation

Compromised credentials expire quickly due to short lifetimes

Authorities publish revocation lists or respond to status requests when a certificate becomes invalid before its scheduled expiration date

Formats

X509-SVID, JWT-SVID and WIT-SVID

X.509 certificates

Credential Lifetimes and Rotation

Short-lived credentials define modern identity security better than long-term trust anchors.

SPIRE Server defaults set an X509-SVID lifetime at one hour and a JWT-SVID lifetime at five minutes. The server signing certificate authority has a default lifetime of 24 hours, though administrators can adjust these values through configuration files.

The agent automatically refreshes credentials when half the configured lifetime elapses. This rotation strategy limits exposure if an attacker intercepts a token or extracts a private key. The National Institute of Standards and Technology defines this window as a cryptoperiod, the time span during which specific keys remain authorized for use.

In contrast, PKI credentials last much longer. Until recently, public TLS certificates could remain valid for up to 398 days.

That’s changed: on March 15, 2026, the maximum dropped to 200 days. The CA/Browser Forum Ballot SC-081v3 mandates a maximum of 47 days for public TLS certificates by March 15, 2029. Even with the new limits, though, the certificates remain valid for much longer than SPIRE defaults.

Revocation: Short-Lived Expiry vs. Revocation Lists

Traditional PKI relies on CRLs or OCSP to invalidate compromised certificates before expiration. These mechanisms require distributing status information across millions of endpoints, creating significant operational overhead.

SPIRE, in contrast, avoids revocation lists entirely through rapid credential rotation cycles. A compromised SVID becomes useless immediately upon its scheduled short-term expiry rather than requiring active revocation propagation.

With the default one-hour X509-SVID lifetime, the agent rotates the SVID after about 30 minutes. This design limits exposure to under an hour instead of days or weeks.

JWT-SVIDs present different risks because they act as bearer tokens susceptible to replay attacks. The specification recommends single-audience tokens, yet intercepted credentials can still be reused if not paired with a private key for mutual authentication proof.

SPIFFE prefers X509-SVIDs between workloads precisely because these certificates support possession-based validation that JWT formats lack.

The security plan that scales with you.

Our solutions can scale from mid-market to global enterprises. Compare options and see how our solutions protect you from costly breaches and ensure peace of mind.

Check Our Prices

Issuance: Attestation vs. Enrollment Protocols

Traditional PKI relies on periodic renewal cycles, which require manual or automated intervention to issue credentials initially. In contrast, SPIRE automatically re-issues short-lived SVIDs to attested workloads without human interaction.

SPIRE triggers issuance after node attestation. The agent and server jointly verify the node identity during this phase. A single SPIRE Agent runs one node attestor plugin while a Server hosts multiple plugins simultaneously. Workload attestation follows, where the system binds identities to specific workloads.

The result is frequent, automated re-issuance.

Traditional PKI relies on enrollment protocols. ACME automates identifier validation and issuance. SCEP carries requests over HTTP using Cryptographic Message Syntax. Microsoft WS-Trust extends X.509v3 token enrollment for Windows clients via MS-WSTEP specifications.

The result is point-in-time certificate issuance.

Run Your PKI Alongside SPIRE With SecureW2

JoinNow Dynamic PKI automates certificate issuance, renewal, and revocation for non-human identities.

The platform supports bring your own device (BYOD) programs and enrolls devices through ACME Device Attestation and Dynamic SCEP. It integrates natively with mobile device management (MDM) platforms while using ML-powered CertIQ to detect anomalies.

JoinNow Cloud RADIUS delivers managed passwordless EAP-TLS authentication with 99.999% availability. The service ingests live signals from identity providers and offers certificate auto-revocation plus enrollment APIs including SCEP, WSTEP and EST.

SecureW2 can also issue SPIFFE-compliant X509-SVIDs to AI agents through ACME with External Account Binding.

Organizations often run traditional PKI frameworks next to workload identity solutions for comprehensive coverage. You can combine manual enrollment cycles with automated attestation flows to meet diverse security requirements.

Contact SecureW2 today and schedule a demo to see how these capabilities integrate into your environment.

These answers cover common questions about running SPIRE next to an existing PKI.


Frequently Asked Questions

Can SPIRE use my existing certificate authority?

Yes, you can integrate your current infrastructure through UpstreamAuthority plugins like disk or aws_pca. These components load trust bundles containing PKI roots and chain the signing certificates accordingly. This approach lets SPIRE operate alongside traditional frameworks without requiring a complete migration. You avoid disrupting existing certificate policies while gaining modern workload identity benefits.

Is a JWT-SVID as secure as an X509-SVID between workloads?

No, bearer tokens used in these identities present replay risks that mutual TLS does not. SPIFFE recommends single-audience tokens to reduce exposure when intercepting occurs during transmission or storage. Organizations should prefer X509-SVIDs between workloads because they require private key possession for authentication proof.

Do SVIDs need CRL or OCSP revocation?

No, SPIRE does not rely on certificate revocation lists or OCSP; short lifetimes do that job. The short default lifetimes of one hour and five minutes limit the window for compromise significantly. Agents rotate X509-SVIDs at half their lifetime to maintain security without active status checks.

Does using SPIFFE require running SPIRE?

No, SPIRE is only one implementation of the SPIFFE specification. Other platforms such as cert-manager or Consul can issue compliant identity tokens for your services too. You select the tool that best fits your operational requirements and existing deployment architecture today.