Skip to content

Commit 46f7227

Browse files
Merge pull request #262623 from v-jaswel/aca/v-jaswel_20240107_work_item_57922
[ACA] Add prerequisite for managed identity image pull.
2 parents 53ec5a1 + e2b018f commit 46f7227

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

articles/container-apps/managed-identity-image-pull.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ The following steps describe the process to configure your container app to use
3434
- An Azure account with an active subscription.
3535
- If you don't have one, you [can create one for free](https://azure.microsoft.com/free/).
3636
- A private Azure Container Registry containing an image you want to pull.
37+
- Your Azure Container Registry must allow ARM audience tokens for authentication in order to use managed identity to pull images.
38+
Use the following command to check if ARM tokens are allowed to access your ACR:
39+
40+
```azurecli
41+
az acr config authentication-as-arm show -r <REGISTRY>
42+
```
43+
44+
If ARM tokens are disallowed, you can allow them with the following command:
45+
46+
```azurecli
47+
az acr config authentication-as-arm update -r <REGISTRY> --status enabled
48+
```
3749
- Create a user-assigned managed identity. For more information, see [Create a user-assigned managed identity](../active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-portal.md#create-a-user-assigned-managed-identity).
3850
3951
### Create a container app

0 commit comments

Comments
 (0)