iam-customer-policy-blocked-kms-actions - Amazon Config
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

iam-customer-policy-blocked-kms-actions

Checks if the managed Amazon Identity and Access Management (IAM) policies that you create do not allow blocked actions on Amazon KMS keys. The rule is NON_COMPLIANT if any blocked action is allowed on Amazon KMS keys by the managed IAM policy.

Note

This rule does not evaluate the conditions provided in IAM policies. For more information on IAM conditions, see IAM JSON policy elements: Condition in the IAM User Guide.

Identifier: IAM_CUSTOMER_POLICY_BLOCKED_KMS_ACTIONS

Resource Types: AWS::IAM::Policy

Trigger type: Configuration changes

Amazon Web Services Region: All supported Amazon regions except Middle East (UAE), Asia Pacific (Hyderabad), Asia Pacific (Osaka), Asia Pacific (Melbourne), Israel (Tel Aviv), Canada West (Calgary), Europe (Spain), Europe (Zurich) Region

Parameters:

blockedActionsPatterns
Type: CSV

Comma-separated list of blocked KMS action patterns. For example, you can list kms:Decrypt* or kms:ReEncrypt as blocked action patterns. The rule is NON_COMPLIANT if the managed IAM policy allows any action pattern listed in this parameter.

excludePermissionBoundaryPolicy (Optional)
Type: boolean

Boolean flag to exclude the evaluation of IAM policies used as permissions boundaries. If set to 'true', the rule will not include permissions boundaries in the evaluation. Otherwise, all IAM policies in scope are evaluated when value is set to 'false.' Default value is 'false'.

Amazon CloudFormation template

To create Amazon Config managed rules with Amazon CloudFormation templates, see Creating Amazon Config Managed Rules With Amazon CloudFormation Templates.