turbot/aws_insights

Query: kms_keys_for_sns_topic

Usage

powerpipe query aws_insights.query.kms_keys_for_sns_topic

Steampipe Tables

SQL

select
kms_master_key_id as key_arn
from
aws_sns_topic
where
kms_master_key_id is not null
and topic_arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);