X.509-SVID Issuance
How does a workload get an X.509-SVID from SPIRE?
Acquire an X.509 certificate encoding a SPIFFE ID as a URI SAN via the Workload API (SPIFFE X.509-SVID spec §2). X.509-SVIDs are the primary credential type in SPIFFE, used for mTLS authentication between workloads. The SPIRE Agent generates the key pair, obtains a signed certificate from the SPIRE Server's CA, and delivers the complete credential set (certificate, private key, trust bundle) to the workload via the local Unix socket.
X.509 CertificateWorkload API
Sequence Diagram
Click any step for details
Request
Response
Redirect
Internal
Step-by-Step Breakdown
1
FetchX509SVID Request
Workload → SPIRE Agent
2
Key Pair Generation
SPIRE Agent → Key Manager
3
CSR Submission to SPIRE Server
SPIRE Agent → SPIRE Server
4
Certificate Signing by SPIRE CA
SPIRE Server → Certificate Authority
5
SVID and Trust Bundle Delivery
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.