Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KMS ¶
type KMS interface { GetPublicKey(context.Context, *kms.GetPublicKeyInput, ...func(*kms.Options)) (*kms.GetPublicKeyOutput, error) Sign(context.Context, *kms.SignInput, ...func(*kms.Options)) (*kms.SignOutput, error) }
KMS implements a small subset of the KMS API.
type KMSJWT ¶
type KMSJWT struct {
// contains filtered or unexported fields
}
KMSJWT is a JWT signing method implementation using RSA512 with the private key stored in AWS KMS. The public key is retrieved from KMS on initialization.
func NewWithPublicKey ¶
NewWithPublicKey provides a KMS-based implementation of JWT signing method with a pre-loaded public key.
Click to show internal directories.
Click to hide internal directories.