Versions in this module Expand all Collapse all v5 v5.0.0 Mar 16, 2022 Changes in this version + var ErrInvalidKey = errors.New("key is invalid") + var ErrKmsVerification = errors.New("kms: verification error") + func DisableCache(k *KMSJWT) + type KMSJWT struct + func New(client kmsiface.KMSAPI, kmsKeyID string, opts ...Option) *KMSJWT + func (k *KMSJWT) Alg() string + func (k *KMSJWT) Sign(signingString string, key interface{}) (string, error) + func (k *KMSJWT) Verify(signingString, stringSignature string, key interface{}) error + type Option func(*KMSJWT) + func WithAlgorithm(algorithm string) Option + func WithCleanupInterval(cleanupInterval time.Duration) Option + func WithDefaultExpiration(defaultExpiration time.Duration) Option + func WithSigningAlgorithm(algorighm string) Option Other modules containing this package github.com/spacelift-io/kmsjwt/v6