grpc: Index | Files

package credentials

import ""

Package credentials defines APIs for parsing SPIFFE ID.

All APIs in this package are experimental.


Package Files


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.