system_assigned_identities
Creates, updates, deletes, gets or lists a system_assigned_identities resource.
Overview
| Name | system_assigned_identities |
| Type | Resource |
| Id | azure.msi.system_assigned_identities |
Fields
The following fields are returned by SELECT queries:
- get_by_scope
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
clientId | string | The id of the app associated with the identity. This is a random generated UUID by MSI. |
clientSecretUrl | string | The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials. |
location | string | Required. |
principalId | string | The id of the service principal object associated with the created identity. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | :vartype tags: dict[str, str] |
tenantId | string | The id of the tenant which the identity belongs to. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_scope | select | scope | Gets the systemAssignedIdentity available under the specified RP scope. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
scope | string | The fully qualified Azure Resource manager identifier of the resource. Required. |
SELECT examples
- get_by_scope
Gets the systemAssignedIdentity available under the specified RP scope.
SELECT
id,
name,
clientId,
clientSecretUrl,
location,
principalId,
systemData,
tags,
tenantId,
type
FROM azure.msi.system_assigned_identities
WHERE scope = '{{ scope }}' -- required
;