This section contains a set of standalone examples that demonstrate different use cases for the go-spiffe library.
Use cases
Mutually Authenticated TLS (mTLS): Establish mTLS connections between workloads using automatically rotated X.509 SVIDs obtained from the SPIFFE Workload API.
SVIDs stream: Get automatically rotated X.509 SVIDs and JWT Bundles for your workload.
gRPC over mTLS: Send gRPC requests between workloads over mTLS using automatically rotated X.509 SVIDs obtained from the SPIFFE Workload API.
HTTP over mTLS: Send HTTP requests between workloads over mTLS using automatically rotated X.509 SVIDs obtained from the SPIFFE Workload API.
HTTP over TLS with JWT: Send http requests between workload over a TLS + JWT authentication using automatically rotated X.509 SVIDs and JWT SVIDs from the SPIFFE Workload API.