KMS.createKeyFromSeed() method
generates a new key and returns it kms key id
Signature:
createKeyFromSeed(keyType: KmsKeyType, bytes: Uint8Array): Promise<KmsKeyId>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| keyType | KmsKeyType | |
| bytes | Uint8Array |
Returns:
Promise<KmsKeyId>
kms key id