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/managed-identity-image-pull.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The following steps describe the process to configure your container app to use
29
29
30
30
1. Create a container app with a public image.
31
31
1. Add the user-assigned managed identity to the container app.
32
-
1. Create a container app revision with a private image and the system-assigned managed identity.
32
+
1. Create a container app revision with a private image and the user-assigned managed identity.
33
33
34
34
### Prerequisites
35
35
@@ -118,6 +118,16 @@ You can verify that the role was added by checking the identity from the **Ident
118
118
1. Select **Azure role assignments** from the menu on the managed identity resource page.
119
119
1. Verify that the `acrpull` role is assigned to the user-assigned managed identity.
120
120
121
+
### Create a container app with a private image
122
+
123
+
If you don't want to start by creating a container app with a public image, you can also do the following.
124
+
125
+
1. Create a user-assigned managed identity.
126
+
1. Add the `acrpull` role to the user-assigned managed identity.
127
+
1. Create a container app with a private image and the user-assigned managed identity.
128
+
129
+
This method is typical in Infrastructure as Code (IaC) scenarios.
130
+
121
131
### Clean up resources
122
132
123
133
If you're not going to continue to use this application, you can delete the Azure Container Apps instance and all the associated services by removing the resource group.
0 commit comments