Skill 4.1.1

Choose between Microsoft Entra service principals and managed identities for Azure resources (system-assigned and user-assigned)

Key Concepts

A managed identity is managed by Azure and has no credential to store. A system-assigned identity shares the lifecycle of one resource, and a user-assigned identity is a separate resource that can be shared.

A service principal represents an application registration, and it suits workloads outside Azure. With workload identity federation, it needs no secret. A user-assigned managed identity can also hold a federated credential.