Skip to content

Commit e3c6ae2

Browse files
committed
Incorporate review feedback.
1 parent 79aeb17 commit e3c6ae2

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

articles/container-apps/tutorial-event-driven-jobs.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The job uses an Azure Storage queue to receive messages. In this section, you cr
9494
9595
To avoid using administrative credentials, pull images from private repositories in Microsoft Azure Container Registry using managed identities for authentication. When possible, use a user-assigned managed identity to pull images.
9696
97-
1. Create a user-assigned managed identity. Before you run the following commands, replace the `\<PLACEHOLDERS\>` with the name of your managed identity.
97+
1. Create a user-assigned managed identity. Before you run the following commands, choose a name for your managed identity and replace the `\<PLACEHOLDER\>` with the name.
9898
9999
```bash
100100
IDENTITY="<YOUR_IDENTITY_NAME>"
@@ -141,13 +141,21 @@ To deploy the job, you must first build a container image for the job and push i
141141

142142
1. Your container registry must allow Azure Resource Manager (ARM) audience tokens for authentication in order to use managed identity to pull images.
143143

144-
Use the following command to check if ARM tokens are allowed to access your Azure Container Registry (ACR):
144+
Use the following command to check if ARM tokens are allowed to access your Azure Container Registry (ACR).
145145

146146
```azurecli
147147
az acr config authentication-as-arm show --registry "$CONTAINER_REGISTRY_NAME"
148148
```
149149

150-
If ARM tokens aren't allowed, allow them with the following command:
150+
If ARM tokens are allowed, the command outputs the following.
151+
152+
```
153+
{
154+
"status": "enabled"
155+
}
156+
```
157+
158+
If the `status` is `disabled`, allow ARM tokens with the following command.
151159

152160
```azurecli
153161
az acr config authentication-as-arm update --registry "$CONTAINER_REGISTRY_NAME" --status enabled

0 commit comments

Comments
 (0)