Skip to content

Commit bff8611

Browse files
committed
[ACR] Tasks MSI principal
1 parent 9891941 commit bff8611

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/container-registry/container-registry-tasks-authentication-managed-identity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ Depending on the requirements of your task, grant the identity permissions to ac
8787

8888
Use the [Azure CLI](../role-based-access-control/role-assignments-cli.md) or other Azure tools to manage role-based access to resources. For example, run the [az role assignment create][az-role-assignment-create] command to assign the identity a role to the resource.
8989

90-
The following example assigns a managed identity the permissions to pull from a container registry. The command specifies the *service principal ID* of the identity and the *resource ID* of the target registry.
90+
The following example assigns a managed identity the permissions to pull from a container registry. The command specifies the *principal ID* of the task identity and the *resource ID* of the target registry.
9191

9292

9393
```azurecli
9494
az role assignment create \
95-
--assignee <servicePrincipalID> \
95+
--assignee <orincipalID> \
9696
--scope <registryID> \
9797
--role acrpull
9898
```

includes/container-registry-tasks-system-id-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 07/12/2019
1010
ms.author: danlep
1111
ms.custom: include file
1212
---
13-
In the command output, the `identity` section shows an identity of type `SystemAssigned` is set in the task. The `principalId` is the service principal ID of the identity:
13+
In the command output, the `identity` section shows an identity of type `SystemAssigned` is set in the task. The `principalId` is the principal ID of the task identity:
1414

1515
```console
1616
[...]

0 commit comments

Comments
 (0)