jwt-kms
jwt-kms copied to clipboard
Sign and validate JWT tokens using keys stored in the AWS Key Management Service (KMS).
Hi, I checked that current implementation is not using current AWS KMS api. Changes: - use of sign/verify methods - new aws-sdk version dependency - new argument in verify method...
Hi, not sure if I'm doing something wrong, but I create keys with 'sign&verify' property (I have tried with RSA and ECC) and I get the same error: InvalidKeyUsageException: arn:aws:kms:eu-west-1:774082574083:key/9a956830-5b5d-4203-bc1e-52781bbab0a2...
Hey, thanks for the lib! I'm using the [AWS X-Ray client](https://docs.aws.amazon.com/xray-sdk-for-nodejs/latest/reference/) and I believe I need to be able to wrap the initialization of AWS inside a function like so:...