KMSClient interacts with the AWS Key Management Service. With it, the user can list all the Key Management Service keys in the caller's AWS account and region. They can also generate symmetric data keys to use outside of AWS Key Management Service. KMSClient operations are blocking. k6 recommends reserving their use to the setup and teardown stages as much as possible.
Both the dedicated kms.js jslib bundle and the all-encompassing aws.js bundle include the KMSClient.
|listKeys||List the all the Key Management Service keys in the caller's AWS account and region.|
|generateDataKey||Generate a symmetric data key for use outside of the AWS Key Management Service.|
KMSClient methods throw errors in case of failure.
|InvalidSignatureError||when using invalid credentials|
|KMSServiceError||when AWS replied to the requested operation with an error|