class Aws::KMS::Types::InvalidKeyUsageException
@see docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/InvalidKeyUsageException AWS API Documentation
@return [String]
@!attribute [rw] message
particular KMS key, use the DescribeKey operation.
To find the encryption or signing algorithms supported for a
key, use the DescribeKey operation.
‘KeyUsage` must be `KEY_AGREEMENT`. To find the `KeyUsage` of a KMS
`GENERATE_VERIFY_MAC`. For deriving key agreement secrets, the
verifying message authentication codes (MACs), the `KeyUsage` must be
messages, the `KeyUsage` must be `SIGN_VERIFY`. For generating and
the `KeyUsage` must be `ENCRYPT_DECRYPT`. For signing and verifying
For encrypting, decrypting, re-encrypting, and generating data keys,
key `(KeySpec`).
operation is incompatible with the type of key material in the KMS
* The encryption algorithm or signing algorithm specified for the
operation.
* The `KeyUsage` value of the KMS key is incompatible with the API
The request was rejected for one of the following reasons: