turbot/steampipe-mod-aws-insights

Dashboard: AWS KMS Key Detail

This dashboard answers the following questions for each key:

  • What relationships does the key have with other resources?
  • How is the key configured?
  • What tags are applied?
  • What is the source of the key material?
  • What is the state of the key?
  • Is automatic rotation enabled?
This dashboard contains 4 cards, 2 graphs, 1 input and 4 tables.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-aws-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select AWS KMS Key Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run aws_insights.dashboard.kms_key_detail --share

Queries

This dashboard uses the the following queries:
select
creation_date as "Creation Date",
deletion_date as "Deletion Date",
extract(day from deletion_date - current_date)::int as "Deleting After Days"
from
aws_kms_key
where
arn = $1
and region = split_part($1, ':', 4)
and account_id = split_part($1, ':', 5);

Tags