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
If the environment doesn't exist, run the following command:
296
296
297
-
# [Azure CLI](#tab/azure-cli)
297
+
# [Bash](#tab/bash)
298
298
299
299
To create the environment, run the following command:
300
300
@@ -351,7 +351,7 @@ Follow this procedure to configure user-assigned managed identity:
351
351
352
352
### Create a user-assigned managed identity
353
353
354
-
# [Azure CLI](#tab/azure-cli)
354
+
# [Bash](#tab/bash)
355
355
356
356
Create a user-assigned managed identity. Before you run the following command, replace placeholders surrounded by `<>` with the name of your managed identity.
Create your container app with your image from the private registry authenticated with the identity.
419
419
420
-
# [Azure CLI](#tab/azure-cli)
420
+
# [Bash](#tab/bash)
421
421
422
422
Copy the identity's resource ID to paste into the *\<IDENTITY_ID\>* placeholders in the command below. If your image tag isn't `latest`, replace 'latest' with your tag.
423
423
@@ -473,7 +473,7 @@ New-AzContainerApp @AppArgs
473
473
>[!CAUTION]
474
474
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this quickstart exist in the specified resource group, they will also be deleted.
475
475
476
-
# [Azure CLI](#tab/azure-cli)
476
+
# [Bash](#tab/bash)
477
477
478
478
```azurecli
479
479
az group delete --name $RESOURCE_GROUP
@@ -499,7 +499,7 @@ To configure a system-assigned identity, you'll need to:
499
499
500
500
Create a container with a public image.
501
501
502
-
# [Azure CLI](#tab/azure-cli)
502
+
# [Bash](#tab/bash)
503
503
504
504
```azurecli
505
505
az containerapp create \
@@ -541,7 +541,7 @@ New-AzContainerApp @AppArgs
541
541
542
542
Update the container app with the image from your private container registry and add a system-assigned identity to authenticate the Azure Container Registry pull. You can also include other settings necessary for your container app, such as ingress, scale and Dapr settings.
543
543
544
-
# [Azure CLI](#tab/azure-cli)
544
+
# [Bash](#tab/bash)
545
545
546
546
Set the registry server and turn on system-assigned managed identity in the container app.
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this quickstart exist in the specified resource group, they will also be deleted.
596
596
597
-
# [Azure CLI](#tab/azure-cli)
597
+
# [Bash](#tab/bash)
598
598
599
599
```azurecli
600
600
az group delete --name $RESOURCE_GROUP
@@ -627,7 +627,7 @@ This article describes how to use a Bicep template to configure your container a
627
627
628
628
If you don't have Bicep installed, you can install it as follows.
629
629
630
-
# [Azure CLI](#tab/azure-cli)
630
+
# [Bash](#tab/bash)
631
631
632
632
```azurecli
633
633
az bicep install
@@ -651,7 +651,7 @@ You must manually install Bicep for any use other than Azure CLI. For more infor
651
651
652
652
Next, set the following environment variables. Replace placeholders surrounded by `<>` with your values.
0 commit comments