Skip to main content

Module spiffe

Module spiffe 

Source
Expand description

SPIFFE/JWT-SVID compatibility surface for the Kubernetes security spine.

This module deliberately reuses the existing OAuth trust machinery: external cluster/SPIRE issuers must already be present in OAuthState::trusted_issuers, which is populated only after the normal federation:register admission path. Accepted workload JWTs are re-issued as local WITs; hyprstream-provided JWT-SVIDs are signed by the same active JWT signing key published by the bundle endpoint.

Structs§

ServiceSvidRequest
ServiceSvidResponse
WorkloadWitRequest
WorkloadWitResponse

Functions§

exchange_workload_wit
POST /oauth/spiffe/wit — exchange a cluster/SPIRE JWT for a local WIT.
issue_service_svid
POST /oauth/spiffe/service-svid — issue a JWT-SVID for a hyprstream service.
spiffe_bundle
GET /.well-known/spiffe/bundle — SPIFFE trust-domain bundle.