Open paavan98pm opened 5 years ago
The general pattern here is correct. The behavior of KMSMasterKeyProvider on encrypt is that all master keys must succeed or the entire process will fail.
That said, this should be being swallowed in either a GenerateKeyError
or EncryptKeyError
to simply say that the master key failed the requested operation.
If a CMK is disabled/deleted within KMSMasterKeyProvider CMKs, the encrypt call throws a couple of errors (below).