Azure Managed Identity Explained: What, Why, Types & When to Use Each
- Sumit Raj
- Aug 3
- 1 min read
Updated: 5 days ago

Introduction
In this blog, we delve into the concept of managed identity, discussing its purpose and when to utilize different types of managed identities. Furthermore, we will present a demonstration with a real-world example.
What is Managed Identity
In Azure, a managed identity is an identity that can be assigned to Azure compute resources such as VMs, APIMs, and Storage accounts.
Once assigned, it can be authorized to access target resources without the need for credentials.

Let's understand this using an office analogy.

Why Managed Identity?
1. Authenticate other azure services without any password or secrets.
This eliminates the need to store and Manage credentials.
No need to create service principle and maintain secret.
Types of Managed Identity

Example: office Analogy


Choosing the Right Type of Managed Identity for Your Needs

Example: 1

Example: 2

Example:3

What happens when you create Managed Identity
A service principal created in Microsoft Entra ID.
Azure resources only can use this identity to request tokens from Microsoft Entra ID.
Opmerkingen