JWT-SVID Issuance
How does a workload get a JWT-SVID from SPIRE?
Acquire a signed JWT token encoding a SPIFFE ID via the Workload API (SPIFFE JWT-SVID spec §2). JWT-SVIDs are an alternative to X.509-SVIDs designed for HTTP/gRPC-based authentication where presenting a client certificate is impractical (e.g., L7 proxies, API gateways). The workload specifies the intended audience, and SPIRE Server mints a signed JWT with the workload's SPIFFE ID as the subject. JWT-SVIDs are short-lived (typically 5 minutes) and audience-bound.
JWT TokenShort-Lived
Sequence Diagram
Click any step for details
Request
Response
Redirect
Internal
Step-by-Step Breakdown
1
FetchJWTSVID Request
Workload → SPIRE Agent
2
Agent Forwards to SPIRE Server
SPIRE Agent → SPIRE Server
3
JWT-SVID Generation and Signing
SPIRE Server → JWT Signer
4
JWT-SVID Delivery to Workload
SPIRE Agent → Workload
Token Inspector
Specs for this flow
Sections of the protocol that normatively define this flow, plus the security considerations that apply to it.