Skip to content

Secrets Manager  >  Errors  >  EncryptionFailure

EncryptionFailure

Error Class

EncryptionFailure dataclass

Bases: ServiceError

Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the KMS key is available, enabled, and not in an invalid state. For more information, see Key state: Effect on your KMS key.

Attributes

fault class-attribute instance-attribute
fault: Literal['client', 'server'] | None = 'client'