Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Latest commit

 

History

History

nodejs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

TrueLayer Signing with AWS KMS in Typescript/Node.js

Prerequisities

  • A ECC_NIST_P521 SIGN_VERIFY key provisioned in KMS
  • IAM credentials (see here) provisions and given explicit access as a key user in the key policy of the provisioned key
  • The following environment variables (note can be put in a .env file in this directory):
    • AWS_ACCESS_KEY_ID: The access key ID for the IAM credentials
    • AWS_SECRET_ACCESS_KEY: The access key for the IAM credentials
    • AWS_REGION: The AWS region the signing key was provisioned in
    • AWS_KMS_SIGNING_KEY_ID: The AWS KMS Key ID of the provisioned signing key

Running

First restore packages using npm ci, then simply:

npm start