Categorygithub.com/marcinwyszynski/kmsjwt/v2
modulepackage
2.0.0
Repository: https://github.com/marcinwyszynski/kmsjwt.git
Documentation: pkg.go.dev

# README

kmsjwt

Godoc CircleCI Go Report Card codecov

This little utility library provides an AWS KMS-based implementation of jwt.SigningMethod.

You will be using an instance of context.Context as the encryption key.

# Functions

DisableCache disables cache on the client (on by default).
New provides a KMS-based implementation of JWT signing method.
No description provided by the author
WithCleanupInterval changes the key cleanup interval if the cache is "on".
WithDefaultExpiration changes the default key expiration if the cache is "on".
WithSigningAlgorithm changes the algorighm used to sign and verify tokens.

# Variables

ErrKmsVerification is an error shown when KMS token verification fails.

# Type aliases

Option is a function that modifies the way the verification method works.