grpc: google.golang.org/grpc/internal/credentials Index | Files

package credentials

import "google.golang.org/grpc/internal/credentials"

Package credentials defines APIs for parsing SPIFFE ID.

All APIs in this package are experimental.

Index

Package Files

spiffe.go

func SPIFFEIDFromState Uses

func SPIFFEIDFromState(state tls.ConnectionState) *url.URL

SPIFFEIDFromState parses the SPIFFE ID from State. If the SPIFFE ID format is invalid, return nil with warning.

Package credentials imports 3 packages (graph) and is imported by 1 packages. Updated 2020-08-05. Refresh now. Tools for package owners.