How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

SPIRE Workload API

The SPIRE Agent exposes the SPIFFE Workload API as a Unix domain socket, allowing workloads running on the same node to request their X.509-SVIDs and JWT-SVIDs without requiring any credentials. The Workload API also delivers trust bundle updates so that workloads can verify the identity of other workloads.

SPIRE Workload API is one of 5 APIs that SPIRE publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include gRPC, Identity, JWT, Workload, and X.509. The published artifact set on APIs.io includes API documentation, an API reference, an AsyncAPI specification, and a GitHub repository.

This event API exposes 5 operations across 5 channels, and defines 12 schemas. It is described by AsyncAPI 2.6.0, at version 1.2.

The API connects through a single server, unix:///tmp/spire-agent/public/api.sock (grpc).

5 operations 5 channels 12 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.2
Server
unix:///tmp/spire-agent/public/api.sock (grpc)
Resource Areas
1

Channels & Operations 5

Across 5 channels, the API surfaces 5 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 5
SUB
/spiffe.workload.SpiffeWorkloadAPI/FetchX509SVID
Receive streaming X.509-SVID updates
receiveX509SVIDs body
SUB
/spiffe.workload.SpiffeWorkloadAPI/FetchX509Bundles
Receive streaming X.509 trust bundle updates
receiveX509Bundles body
SUB
/spiffe.workload.SpiffeWorkloadAPI/FetchJWTSVID
Receive a JWT-SVID for a target audience
receiveJWTSVID body
SUB
/spiffe.workload.SpiffeWorkloadAPI/FetchJWTBundles
Receive streaming JWT trust bundle updates
receiveJWTBundles body
SUB
/spiffe.workload.SpiffeWorkloadAPI/ValidateJWTSVID
Receive JWT-SVID validation result
receiveJWTValidationResult body

Messages & Schemas 12

The contract defines 12 schemas that model the data carried by its messages. The most detailed are X509SVID (5 properties), JWTSVID (4 properties), X509SVIDResponse (2 properties), ValidateJWTSVIDResponse (2 properties). Each schema is shown below with its type and property counts.

X509SVIDResponse
message
Batch of X.509-SVIDs and trust bundles for the workload
X509BundlesResponse
message
Complete set of X.509 trust bundles
JWTSVIDResponse
message
JWT-SVIDs for the requested audience
JWTBundlesResponse
message
JWT trust bundles for all trust domains
ValidateJWTSVIDResponse
message
Result of JWT-SVID validation
X509SVID
object
An X.509-SVID issued by SPIRE containing the DER-encoded certificate chain, private key, and the trust bundle for the issuing trust domain.
5 properties 4 required
X509SVIDResponse
object
Streaming response containing all X.509-SVIDs and federated trust bundles
2 properties 1 required
X509BundlesResponse
object
Streaming response containing X.509 trust bundles for all trust domains
1 property 1 required
JWTSVID
object
A JWT-SVID issued by SPIRE as a signed JSON Web Token
4 properties 2 required
JWTSVIDResponse
object
Response containing JWT-SVIDs for the requested audience
1 property 1 required
JWTBundlesResponse
object
Streaming response containing JWT trust bundles (JWKS) for all trust domains
1 property 1 required
ValidateJWTSVIDResponse
object
Result of JWT-SVID validation performed by the SPIRE Agent
2 properties 1 required

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

spire-workload-asyncapi.yml Raw ↑

Other APIs SPIRE publishes across the network.

SPIRE Server API
SPIRE Discovery API
SPIRE Health API
SPIRE Keys API
Where this information came from

This is an independent, third-party profile of SPIRE Workload API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.