examples/

directory
v2.0.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: Apache-2.0

README

go-spiffe (v2) Examples

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.

Directories

Path Synopsis
spiffe-grpc
spiffe-http
spiffe-jwt
spiffe-tls

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL