Azure-docs: Missing: How to use User assigned managed identity to pull images from Azure Container Registry

Created on 1 Oct 2020  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

This page talks about how System assigned Managed identity can be used to fetch from container registry. However, it does not mention what happens with VM scale sets which have a User assigned system identity.

Do we support using User assigned managed identities? If yes, how to specify clientId of the identity in case multiple User assigned managed identities are associated with the VM Scale set?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 cxp product-question service-fabrisvc triaged

Most helpful comment

@GiriB I checked with the SF team, and you can use the same steps documented here for user-assigned managed identities, provided the vmss has only a single identity. (I've updated the doc with a note.)

Assigning multiple identities to a vmss isn't a security best practice, but let me know if this is the case for you and you're blocked.

All 4 comments

Thanks for the feedback! We are currently investigating and will update you shortly.

I am reaching out to the internal team to get the confirmation on this.

Please refer to this document for details on how to pull images from ACR using user assigned identity: https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tasks-authentication-managed-identity

@erikadoyle Can you please help confirm the following? Thanks :)

Do we support using User assigned managed identities? If yes, how to specify clientId of the identity in case multiple User assigned managed identities are associated with the VM Scale set?

@GiriB I checked with the SF team, and you can use the same steps documented here for user-assigned managed identities, provided the vmss has only a single identity. (I've updated the doc with a note.)

Assigning multiple identities to a vmss isn't a security best practice, but let me know if this is the case for you and you're blocked.

Was this page helpful?
0 / 5 - 0 ratings