StudyToCert

All certifications / AI-200 / Lessons

Microsoft Certified: Azure AI Cloud Developer Associate AI-200 (replaced AZ-204) · Domain 1: Develop containerized solutions on Azure

Pull images without passwords: managed identity with the AcrPull role instead of the admin user

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Before an app can download its image from a private registry, it has to prove it is allowed in. The old way is a shared username and password, like one office key copied for everybody: anyone with a copy can get in, and you cannot tell who did. The better way is a managed identity, which is like an employee badge that Azure prints for your app and quietly renews. You then give that badge one permission, called AcrPull, which means 'may download images' and nothing else. Nobody ever sees or types a password, so there is nothing to leak. You just have to make sure the badge exists and has its permission before the app tries the door for the first time.

It is 2 a.m. and Maya on the night shift at Harbor Credit Union gets paged: the new loan-status Container App will not start. The log shows an image pull failure, unauthorized. An hour earlier, a security change disabled the registry's admin user, because an audit found its password pasted into three app settings and one old wiki page. The auditor's note is blunt: no shared registry passwords anywhere. Maya could re-enable the admin user and go back to bed, but that just reopens the finding. Somewhere there is a way for the app to prove who it is to the registry without anyone holding a password. What is it, and why does a brand-new app sometimes still fail on its very first pull?

Every service that runs your container has to authenticate to your private registry before it can pull the image, every time it starts or scales out. There are several ways to do this, and the exam expects you to pick the one with no stored secrets: a managed identity granted the AcrPull role. To see why, it helps to look at the alternative first.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study AI-200 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the AI-200 study plan