Skip to content

KMS  >  Errors  >  IncorrectKeyMaterialException

IncorrectKeyMaterialException

Error Class

IncorrectKeyMaterialException dataclass

Bases: ServiceError, _SerdeShape

The request was rejected because the key material in the request is, expired, invalid, or does not meet expectations. For example, it is not the same key material that was previously imported or KMS expected new key material but the key material being imported is already associated with the KMS key.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.