Diagram
A two-column comparison matrix contrasting system-assigned and user-assigned managed identities across five attributes: lifecycle, sharing scope, creation, deletion, and best-fit use cases.
Secure Authentication with Managed Identities
The most secure way for applications to access these services is by using managed identities. These are automatically managed identities within Microsoft Entra ID. A system-assigned identity is tied to a single Azure resource, while a user-assigned identity can be shared. Using managed identities means your application code never contains passwords or connection strings, as Azure handles authentication automatically. You then grant these identities specific roles, like App Configuration Data Reader or Key Vault Secrets User, following the principle of least privilege.
Domain 2 of 2
207 practice questions
Practice this DomainLast updated