Creates an instance of AwsKmsSigner. It's expected to call the static fromKeyId
method to create an instance.
For example:
const signer = await AwsKmsSigner.fromKeyId(keyId, options);
Retrieves the key scheme used by this signer.
AWS supports only Secp256k1 and Secp256r1 schemes.
Retrieves the public key associated with this signer.
The Secp256k1PublicKey instance.
Signs provided personal message by calling signWithIntent()
with a PersonalMessage
provided as intent scope
Signs provided transaction by calling signWithIntent()
with a TransactionData
provided as intent scope
Sign messages with a specific intent. By combining the message bytes with the intent before hashing and signing, it ensures that a signed message is tied to a specific purpose and domain separator is provided
Static
fromPrepares the signer by fetching and setting the public key from AWS KMS.
It is recommended to initialize an AwsKmsSigner
instance using this function.
A promise that resolves once a AwsKmsSigner
instance is prepared (public key is set).
Aws KMS Signer integrates AWS Key Management Service (KMS) with the Sui blockchain to provide signing capabilities using AWS-managed cryptographic keys.