turbot/aws_insights

Query: kms_keys_for_rds_db_instance

Usage

powerpipe query aws_insights.query.kms_keys_for_rds_db_instance

Steampipe Tables

SQL

select
rdb.kms_key_id as key_arn
from
aws_rds_db_instance rdb
where
rdb.arn = $1
and kms_key_id is not null
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);