Skip to main content

KMS.createKeyFromSeed() method

generates a new key and returns it kms key id

Signature:

createKeyFromSeed(keyType: KmsKeyType, bytes: Uint8Array): Promise<KmsKeyId>;

Parameters

ParameterTypeDescription
keyTypeKmsKeyType
bytesUint8Array

Returns:

Promise<KmsKeyId>

kms key id