spiffe
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package spiffe defines APIs for working with SPIFFE Bundle Maps.
All APIs in this package are experimental.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcBundleMapFromBytes¶
func BundleMapFromBytes(bundleMapBytes []byte) (map[string]*spiffebundle.Bundle,error)
BundleMapFromBytes parses bytes into a SPIFFE Bundle Map. See theSPIFFE Bundle Map spec for more detail -https://github.com/spiffe/spiffe/blob/main/standards/SPIFFE_Trust_Domain_and_Bundle.md#4-spiffe-bundle-formatIf duplicate keys are encountered in the JSON parsing, Go's default unmarshalbehavior occurs which causes the last processed entry to be the entry in theparsed map.
funcGetRootsFromSPIFFEBundleMap¶added inv1.73.0
func GetRootsFromSPIFFEBundleMap(bundleMap map[string]*spiffebundle.Bundle, leafCert *x509.Certificate) (*x509.CertPool,error)
GetRootsFromSPIFFEBundleMap returns the root trust certificates from theSPIFFE bundle map for the given trust domain from the leaf certificate.
Types¶
This section is empty.