You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Encrypt throws incorrect error when a CMK within KMSMasterKeyProvider is disabled #142
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.
Activity
mattsb42-aws commentedon Feb 20, 2019
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
GenerateKeyErrororEncryptKeyErrorto simply say that the master key failed the requested operation.[-]Encrypt throws error when a CMK within KMSMasterKeyProvider is disabled[/-]