Policy: AWS > KMS > Key > Active > Status
The policy allows you to check which status determines if the AWS KMS key is active.
The Active control determines whether the resource is in active use, and if not, has the ability to delete / cleanup the resource. When running an automated compliance environment, it's common to end up with a wide range of alarms that are difficult and time consuming to clear. The Active control brings automated, well-defined control to this process.
The Active control checks the status of all defined Active policies for the resource (AWS > KMS > Key > Active > *
), raises an alarm, and takes the defined enforcement action. Each Active sub-policy can calculate a status of active, inactive or skipped. Generally, if the resource appears to be Active for any reason it will be considered Active. Note the contrast with Approved, where if the resource appears to be Unapproved for any reason it will be considered Unapproved.
See Active for more information.
The policy values for AWS KMS key are deprecated and replaced by new values. The deprecated values will be removed in next major version.
| Deprecated Values | Current Values |
|-------------------------------------|----------------------------------------|
| Active if status is enabled | Active if $.KeyState is enabled |
| Force active if status is enabled | Force active if $.KeyState is enabled |
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceActive
- tmod:@turbot/aws-kms#/policy/types/keyActiveStatus
- turbot graphql policy-type --id "tmod:@turbot/aws-kms#/policy/types/keyActiveStatus"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-kms#/policy/types/keyActiveStatus"
Get Policy TypeGet Policy Settings