package
0.1.0
Repository: https://github.com/jbrekelmans/go-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CachingKeySetProvider wrapss a KeySetProvider and adds caching.
HTTPSKeySetProvider gets keys from Google's Key Set endpoint (see KeySetURL).
ParseUserManagedServiceAccountFromEmail parses v as a user-managed service account email.
StaticKeySetProvider is an in-memory KeySetProvider.

# Constants

DefaultCachingKeySetProviderTimeToLive is a common default for the timeToLive parameter of CachingKeySetProvider.
JWTIssuer is a constant for Google's JWT issuer.
KeySetURL is URL of Google's Key Set.
UserManagedServiceAccountEmailSuffix asdf.

# Structs

UserManagedServiceAccount represents a user-managed service account.

# Interfaces

KeySetProvider is an interface for getting a set of keys.

# Type aliases

KeySet contains entries where each entry represents a key identifier and certificate.
ServiceAccountGetter is an abstraction for Google's Golang IAM service for the purpose of unit testing.