Control: AWS > KMS > Key > Policy Statements > Approved
Configure policy statements for KMS keys. This control defines whether to verify if the key policy statements are approved, as well as the subsequent action to take on unapproved statements.
If set to Enforce: Delete unapproved
, any unapproved statements will be revoked from the key's policy.
Please note that if the policy is set to Enforce: Delete unapproved
and the new key policy does not contain statements that allow the Guardrails role to continue to manage the key's policy, this control will fail to apply the new policy due to a best practice from AWS that prevents key administrators from removing their own access.
Resource Types
This control targets the following resource types:
Policies
The following policies can be used to configure this control:
This control type relies on these other policies when running actions:
Permissions
Cloud permissions used by this control and its actions:
kms:PutKeyPolicy
Category
In Your Workspace
Developers
- tmod:@turbot/aws-kms#/control/types/keyPolicyStatementsRulesApproved
- tmod:@turbot/turbot#/control/categories/resourceApproved
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/aws-kms#/control/types/keyPolicyStatementsRulesApproved"
Get Controls