Skip to main content

spiffe_trust_bundle

Function spiffe_trust_bundle 

Source
pub async fn spiffe_trust_bundle() -> Json<Value>
Expand description

SPIFFE Trust Domain bundle endpoint.

Delivers the public Trust Bundle (JWKS key format structure) necessary to validate the digital signatures on X.509-SVIDs or JWT-SVIDs.

ยงExample

use auth_framework::api::advanced_protocols::spiffe_trust_bundle;

// Other workloads pull keys from here to securely authenticate service identities.