Skip to main content

AWS KMS

Connect to a custodial wallet with a signing key in AWS Key Management Service.

Usage​

In order to instantiate an AWS KMS wallet, you need to get the relevant credentials for the AWS KMS key that you want to use.

import { AwsKmsWallet } from "@thirdweb-dev/wallets/evm/wallets/aws-kms";

const wallet = new AwsKmsWallet({
region: "us-east-1",
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
sessionToken: process.env.AWS_SESSION_TOKEN,
keyId: process.env.AWS_KEY_ID,
});

Methods​

Inherits all the public methods from the AbstractWallet class.