turbot/alicloud_insights

Query: kms_cmk_lifecycle_table

Usage

powerpipe query alicloud_insights.query.kms_cmk_lifecycle_table

SQL

select
k.key_id as "Key ID",
k.automatic_rotation as "Key Rotation",
k.key_state as "Key State",
k.delete_date as "Deletion Date",
a.title as "Account",
k.account_id as "Account ID",
k.region as "Region",
k.arn as "ARN"
from
alicloud_kms_key as k,
alicloud_account as a
where
k.account_id = a.account_id
order by
k.key_id;

Dashboards

The query is used in the dashboards: