Exception:

com.amazonaws.services.kms.model.AWSKMSException: 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. (Service: AWSKMS; Status Code: 400; Error Code: AccessDeniedException; Request ID: 2a012550-ac1c-4699-a586-ec6306fe9833; Proxy: null) 

Resolution:

Add the AWS lambda execution role in the KMS key in user or administrator

Comments