Readonly closeClose and release resources
Promise resolving and return nothing
Readonly decryptTakes in the necessary data to be decrypted
unencoded plaintext data
Readonly deleteDeletes a key by keyId
a KeyInfo object of the KeyId if found
Readonly deriveDerives a key and stores it in the KMS
A keyInfo object of the key stored in the KMS
Readonly digestGenerates a hash digest of the data
a hash digest
Readonly encryptTakes in the necessary data to encrypt
unencoded ciphertext data
Readonly exporta RAW secret, if key exists. If key isn't extractable, throws Error
Readonly generateGenerates a key and stores it in the KMS
a reference id to a newly generated key that's store in the KMS
Readonly generateGenerates an array of random bytes using a Cryptographically Secure Pseudo Random Number Generator (CSPRNG)
an array of pseudo random bytes
Readonly getDefines the parameters for getKeyInfo function interface into an object type
The identifier of the key
a KeyInfo object of the KeyId
Readonly signSigns a message provided as input
signature of the data
Readonly unUn-wraps a key and stores it in the KMS
Key info of the un-wrapped key
Readonly verifyVerifies a signature
true if the signature is valid else false
Readonly wrapWraps a key and returns it
unencoded ciphertext data
Generated using TypeDoc
Defines the interface of the KMS interface