turbot/azure_insights

Query: key_vault_keys_for_key_vault

Usage

powerpipe query azure_insights.query.key_vault_keys_for_key_vault

SQL

select
lower(k.id) as key_id
from
azure_key_vault_key as k
left join azure_key_vault as v on v.name = k.vault_name
where
lower(v.id) = $1
and v.subscription_id = split_part($1, '/', 3);