Managed Identity
A managed identity is a cloud feature that gives an application, service, or compute resource its own automatically maintained identity, so it can authenticate to other services without a developer having to store and manage credentials. In Microsoft's Azure ecosystem, this identity is provided and maintained by the platform on behalf of the resource. It is designed to reduce the risk that comes from placing passwords or keys directly in code or configuration.
In the Azure ecosystem, a managed identity is a Microsoft Entra ID (formerly Azure Active Directory) feature that provisions an automatically managed identity for an Azure compute resource (such as a Virtual Machine or Virtual Machine Scale Set) or workload, enabling that resource to authenticate to services that support Entra ID-based authentication without embedding secrets in code or configuration. The evidence describes two variants: a system-assigned managed identity, which is created by and bound to the lifecycle of a specific resource and exists only while that resource exists, and a user-assigned managed identity (referenced by name in the evidence but with limited detail provided). This term addresses the authentication of the resource/workload; the separate authorization step, what the identity is permitted to access, depends on the roles or permissions granted to it and is out of scope for this definition. Note that this is an Azure/Entra-specific feature; equivalent workload-identity mechanisms in other cloud platforms are not covered by the evidence provided.
Why it matters
Embedding credentials, passwords, API keys, connection strings, directly in application code or configuration files is a persistent and well-understood source of risk. Secrets stored this way tend to leak into source control, log files, and backups, and rotating them across a fleet of resources is operationally painful. Managed identities address this by shifting the responsibility for provisioning and maintaining the resource's identity to the platform, so that a workload can authenticate to services that support Entra ID-based authentication without a developer ever handling a stored secret.
This matters most for the authentication step of an access flow: it establishes who the workload is to other services. It does not, on its own, determine what that workload may do. The authorization decision depends on the roles or permissions separately granted to the identity, and treating a managed identity as if it automatically confers appropriate access would be a mistake. In most deployments, applying least-privilege scoping to the roles assigned to a managed identity is as important as adopting the feature itself, since an over-permissioned identity remains a meaningful risk even without any stored credential to steal.
Because this is an Azure- and Entra-specific mechanism, teams operating across multiple clouds should not assume the same feature or semantics exist elsewhere; equivalent workload-identity mechanisms on other platforms differ in behavior and are out of scope here.
Who it's relevant to
Inside Managed Identity
Common questions
Answers to the questions practitioners most commonly ask about Managed Identity.
