IAM customer managed policies should not allow decryption actions on all KMS keys
Flags IAM customer managed policies that allow decrypt actions on all KMS keys, which could permit unauthorized decryption of sensitive data.
- service
- KMS
- severity
- Medium
- scope
- evaluated once per account
How to fix it
To ensure IAM policies do not allow decryption actions on all KMS keys, modify the policies to restrict 'kms:Decrypt' to specific resources or remove it from the policy.
- Log in to the AWS Management Console.
- Navigate to the IAM service.
- In the navigation pane, click on 'Policies'.
- Search for and select the customer managed policy to modify.
- Click on the policy to open its details page.
- On the policy details page, click on 'Edit policy'.
- Modify the policy statements to restrict 'kms:Decrypt' to specific resources, or remove the action if it's not needed.
- Review the policy changes, then click 'Review policy' and 'Save changes'.
See which of your accounts this check is failing on.
Book a demo