Skip to content

Commit 012eb0f

Browse files
authored
Merge pull request #195037 from nibaccam/patch-42
Remove UAI abbreviation
2 parents 4c809f5 + 717fcf7 commit 012eb0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/machine-learning/how-to-use-managed-identities.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ In this scenario, Azure Machine Learning service builds the training or inferenc
191191
1. Grant the Managed Identity Operator role:
192192
193193
```azurecli-interactive
194-
az role assignment create --assignee <principal ID> --role managedidentityoperator --scope <UAI resource ID>
194+
az role assignment create --assignee <principal ID> --role managedidentityoperator --scope <user-assigned managed identity resource ID>
195195
```
196196
197-
The UAI resource ID is Azure resource ID of the user assigned identity, in the format `/subscriptions/<subscription ID>/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<UAI name>`.
197+
The user-assigned managed identity resource ID is Azure resource ID of the user assigned identity, in the format `/subscriptions/<subscription ID>/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<user-assigned managed identity name>`.
198198
199199
1. Specify the external ACR and client ID of the __user-assigned managed identity__ in workspace connections by using [Workspace.set_connection method](/python/api/azureml-core/azureml.core.workspace.workspace#set-connection-name--category--target--authtype--value-):
200200
@@ -204,7 +204,7 @@ In this scenario, Azure Machine Learning service builds the training or inferenc
204204
category="ACR",
205205
target = "<acr url>",
206206
authType = "RegistryConnection",
207-
value={"ResourceId": "<UAI resource id>", "ClientId": "<UAI client ID>"})
207+
value={"ResourceId": "<user-assigned managed identity resource id>", "ClientId": "<user-assigned managed identity client ID>"})
208208
```
209209
210210
Once the configuration is complete, you can use the base images from private ACR when building environments for training or inference. The following code snippet demonstrates how to specify the base image ACR and image name in an environment definition:
@@ -222,8 +222,8 @@ Optionally, you can specify the managed identity resource URL and client ID in t
222222
from azureml.core.container_registry import RegistryIdentity
223223

224224
identity = RegistryIdentity()
225-
identity.resource_id= "<UAI resource ID>"
226-
identity.client_id="<UAI client ID>"
225+
identity.resource_id= "<user-assigned managed identity resource ID>"
226+
identity.client_id="<user-assigned managed identity client ID>"
227227
env.docker.base_image_registry.registry_identity=identity
228228
env.docker.base_image = "my-acr.azurecr.io/my-repo/my-image:latest"
229229
```

0 commit comments

Comments
 (0)