vw_user_assigned_identities
Creates, updates, deletes, gets or lists a vw_user_assigned_identities
resource.
Overview
Name | vw_user_assigned_identities |
Type | View |
Id | azure.managed_identity.vw_user_assigned_identities |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
tags as tags,
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.principalId') as "principal_id",
JSON_EXTRACT(properties, '$.clientId') as "client_id",
subscriptionId,
resourceGroupName,
resourceName
FROM azure.managed_identity.user_assigned_identities
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
tags as tags,
json_extract_path_text(properties, '$.tenantId') as "tenant_id",
json_extract_path_text(properties, '$.principalId') as "principal_id",
json_extract_path_text(properties, '$.clientId') as "client_id",
subscriptionId,
resourceGroupName,
resourceName
FROM azure.managed_identity.user_assigned_identities
WHERE subscriptionId = 'replace-me';