Documentation
¶
Overview ¶
Package kmsutil adapts an AWS KMS asymmetric key to crypto.Signer, so the private key never exists in this process. See docs/en/specs/assisted-claiming.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetPublicKeyCache ¶
func ResetPublicKeyCache()
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
func NewRSASigner ¶
NewRSASigner needs only kms:Sign: minting reads no public half (the JWKS is published from RSAPublicKey by publish_discovery), so the key spec is enforced by KMS itself at Sign, keeping kms:GetPublicKey off every token-minting lambda.
Click to show internal directories.
Click to hide internal directories.