Policy: 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 policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Related Policies
Controls
Policy Packs
This policy setting is used by the following policy packs:
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceApproved
- tmod:@turbot/aws-kms#/policy/types/keyPolicyStatementsApproved
- turbot graphql policy-type --id "tmod:@turbot/aws-kms#/policy/types/keyPolicyStatementsApproved"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-kms#/policy/types/keyPolicyStatementsApproved"
Get Policy TypeGet Policy Settings