You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/tutorial-code-to-cloud.md
+30-30Lines changed: 30 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,54 +217,54 @@ To avoid using administrative credentials, pull images from private repositories
217
217
# [Bash](#tab/bash)
218
218
219
219
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.
220
-
221
-
```bash
222
-
IDENTITY="<YOUR_IDENTITY_NAME>"
223
-
```
224
220
225
-
```azurecli
226
-
az identity create \
227
-
--name $IDENTITY \
228
-
--resource-group $RESOURCE_GROUP
229
-
```
221
+
```bash
222
+
IDENTITY="<YOUR_IDENTITY_NAME>"
223
+
```
224
+
225
+
```azurecli
226
+
az identity create \
227
+
--name $IDENTITY \
228
+
--resource-group $RESOURCE_GROUP
229
+
```
230
230
231
231
1. Get the identity's resource ID.
232
232
233
-
```azurecli
234
-
IDENTITY_ID=$(az identity show \
235
-
--name $IDENTITY \
236
-
--resource-group $RESOURCE_GROUP \
237
-
--query id \
238
-
--output tsv)
239
-
```
233
+
```azurecli
234
+
IDENTITY_ID=$(az identity show \
235
+
--name $IDENTITY \
236
+
--resource-group $RESOURCE_GROUP \
237
+
--query id \
238
+
--output tsv)
239
+
```
240
240
241
241
# [Azure PowerShell](#tab/azure-powershell)
242
242
243
243
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.
1. Get the registry's resource ID. Before you run the following command, replace the *\<placeholders\>* with the resource group name for your registry.
0 commit comments