Your team needs to give a partner pull access to exactly one repository in a shared registry. What is the least-privilege mechanism?
- A Assign the AcrPull role at the registry scope
- B Create a repository-scoped token with pull actions on that repository (correct answer)
- C Enable the admin account and share the password
- D Create a separate registry for the partner
Shortcut: Repository-scoped tokens grant permissions on individual repositories, which registry-level AcrPull cannot. The admin account is registry-wide and shared, so it violates least privilege.