Skip to main content
← CONCEPTS / SECURITY & IDENTITY
An end-to-end domain learning journey

SPIFFE & SPIRE
Cryptographic Workload Identity.

SPIFFE defines a universal URI-based workload identity standard, while SPIRE attests running processes via kernel and cloud metadata to issue short-lived X.509/JWT SVIDs over a local Unix Domain Socket.
Start the journey7 sections· Last modified Nov 23, 2026
FIRST PRINCIPLES. PRODUCTION SCALE.
The idea to keep with you

If a pod needs an API key or Vault token to fetch its TLS certificate, how does it authenticate to get that first, eliminate secret-zero and static API keys by letting a local SPIRE Agent attest processes and rotate 1-hour X.509 SVIDs automatically in memory.

TL;DR30-second simplified summary
▾

SPIFFE defines URI-based workload identities encoded in X.509 or JWT SVIDs, while SPIRE implements two-tier Node and Workload Attestation (cloud IID + kernel SO_PEERCRED/cgroup) to stream 1-hour SVIDs over a Unix Domain Socket. Workloads rotate certs at 50% TTL and enforce exact SAN URI authorization.

Before you begin · Building blocksAlready know these? Jump to Stage 01 ↓
API Security: OAuth 2.1, JWT & mTLS
Modern API security pairs OAuth 2.0 (for delegated user/client authorization), signed JWTs (for stateless, verifiable claims), and Mutual TLS (mTLS) (for cryptographic workload and high-assurance client identity).
Full walkthrough · 7 stages
01
L4 · FUNDAMENTALS

.

02
L4 · FUNDAMENTALS

.

03
L5 · APPLIED DESIGN

.

04
L5 · APPLIED DESIGN

.

05
L6 · SCALE & TRADE-OFFS

.

06
L6 · SCALE & TRADE-OFFS

.

07
L7 · STAFF / PRINCIPAL

.

Practice · Explain the consequences

Practice: Make the trade-off yourself.

Question 1 of 3
Score: 0/3

During mTLS, Service B verifies that Service A's X.509-SVID is signed by the cluster's SPIRE Trust Bundle. Why is that check alone insufficient?

Recommended Learning Flow