-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy from ACR to App Service should use MSI with ACRPull role #1685
Comments
@berndverst I am not able to figure out how to get the app service to actually log in using the MSI. I added you as an owner on the resource group ("bwater"). Here's what I did:
It seems like Web App services aren't actually capable of authenticating to ACR with MSI? Is there some config that I must set in place of |
@bwateratmsft I agree with you. From the docs it sounds like it should be possible, but it isn't actually. Digging around internally it seems that the App Service Team does not actually support system assigned identity for accessing ACR. I don't recall whether the App Service MSI page mentions this limitation, but if not that might be worthwhile calling out. |
I'll file a doc bug about that, and link this to that one. |
Opened MicrosoftDocs/azure-docs#55802. |
We should reactivate this and do the necessary work if support is added in the future. |
The AppSvc team has added the ability to use managed service identities to pull from ACR. |
@BigMorty where did you hear that MSI is enabled for App Service accessing ACR? I still get this in the Portal: From the docs: https://docs.microsoft.com/en-us/azure/app-service/quickstart-custom-container?pivots=container-linux#create-an-image
|
This change is now released with Docker extension version 1.12.0. |
Many users attempt to enable the admin mode on ACR. This is bad for security. At the same time, newly created ACR instances don't provide App Service with the necessary access for deployment, even via the VS Docker extension. Many users wrongly believe enabled admin mode is the only way out.
This is a feature request specific to the deployment from ACR to App Service / Web App which will allow making the deployment seamless.
References:
The text was updated successfully, but these errors were encountered: