Skip to main content

vw_vaults

Creates, updates, deletes, gets or lists a vw_vaults resource.

Overview

Namevw_vaults
TypeView
Idazure.key_vault.vw_vaults

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
systemData as system_data,
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.sku') as "sku",
JSON_EXTRACT(properties, '$.accessPolicies') as "access_policies",
JSON_EXTRACT(properties, '$.vaultUri') as "vault_uri",
JSON_EXTRACT(properties, '$.hsmPoolResourceId') as "hsm_pool_resource_id",
JSON_EXTRACT(properties, '$.enabledForDeployment') as "enabled_for_deployment",
JSON_EXTRACT(properties, '$.enabledForDiskEncryption') as "enabled_for_disk_encryption",
JSON_EXTRACT(properties, '$.enabledForTemplateDeployment') as "enabled_for_template_deployment",
JSON_EXTRACT(properties, '$.enableSoftDelete') as "enable_soft_delete",
JSON_EXTRACT(properties, '$.softDeleteRetentionInDays') as "soft_delete_retention_in_days",
JSON_EXTRACT(properties, '$.enableRbacAuthorization') as "enable_rbac_authorization",
JSON_EXTRACT(properties, '$.createMode') as "create_mode",
JSON_EXTRACT(properties, '$.enablePurgeProtection') as "enable_purge_protection",
JSON_EXTRACT(properties, '$.networkAcls') as "network_acls",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.privateEndpointConnections') as "private_endpoint_connections",
JSON_EXTRACT(properties, '$.publicNetworkAccess') as "public_network_access",
subscriptionId,
resourceGroupName,
vaultName
FROM azure.key_vault.vaults
WHERE subscriptionId = 'replace-me';