vw_system_assigned_identities
Creates, updates, deletes, gets or lists a vw_system_assigned_identities
resource.
Overview
Name | vw_system_assigned_identities |
Type | View |
Id | azure.managed_identity.vw_system_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",
JSON_EXTRACT(properties, '$.clientSecretUrl') as "client_secret_url",
scope
FROM azure.managed_identity.system_assigned_identities
WHERE scope = '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",
json_extract_path_text(properties, '$.clientSecretUrl') as "client_secret_url",
scope
FROM azure.managed_identity.system_assigned_identities
WHERE scope = 'replace-me';