SPIFFE Library Usage Examples

Writing code in your applications to create SPIFFE-enabled connections


You can use one of the following libraries to fetch SVIDs and trust bundles from within your applications. These libraries handle the work of interfacing with the SPIFFE Workload API to make your coding easier.

The following code samples demonstrate how to use the libraries to establish and maintain SPIFFE-enabled connections transparently between applications.

Go

See the go-spiffe library GitHub page for more information about the SPIFFE Go library. As of May 2020, a v2 version of this library is in alpha.