The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access.
raise InvalidCiphertextException() aad = _serialize_encryption_context(encryption_context=encryption_context) try: key = master_keys[ciphertext.key_id] except KeyError: raise AccessDeniedException( "The ciphertext refers to a customer master key that does not exist, " "does not exist in this region, or you are not allowed to access." ) try: decryptor = Cipher( algorithms.AES(key.key_material),
Links to the raise (1)https://github.com/spulec/moto/blob/eef21767f89b5ea550fd6af741967e331c3ac258/moto/kms/utils.py#L145
NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Please authorize to post fix
Other moto exceptions
2Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'