Skip to content

Commit e1a225b

Browse files
authored
Merge pull request #186186 from RedZephyr13/1906405-managed-identities-012322
1906405 | Freshness update for managed identities overview
2 parents c576bc9 + 3f9c915 commit e1a225b

File tree

2 files changed

+26
-22
lines changed

2 files changed

+26
-22
lines changed
42.6 KB
Loading

articles/active-directory/managed-identities-azure-resources/overview.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.subservice: msi
1212
ms.devlang:
1313
ms.topic: overview
1414
ms.custom: mvc
15-
ms.date: 08/26/2021
15+
ms.date: 01/25/2022
1616
ms.author: barclayn
1717
ms.collection: M365-identity-device-management
1818

@@ -21,18 +21,20 @@ ms.collection: M365-identity-device-management
2121

2222
# What are managed identities for Azure resources?
2323

24-
A common challenge for developers is the management of secrets and credentials used to secure communication between different components making up a solution. Managed identities eliminate the need for developers to manage credentials. Managed identities provide an identity for applications to use when connecting to resources that support Azure Active Directory (Azure AD) authentication. Applications may use the managed identity to obtain Azure AD tokens. For example, an application may use a managed identity to access resources like [Azure Key Vault](../../key-vault/general/overview.md) where developers can store credentials in a secure manner or to access storage accounts.
24+
A common challenge for developers is the management of secrets and credentials used to secure communication between different components making up a solution. Managed identities eliminate the need for developers to manage credentials.
2525

26-
Take a look at how you can use managed identities</br>
26+
Managed identities provide an identity for applications to use when connecting to resources that support Azure Active Directory (Azure AD) authentication. Applications may use the managed identity to obtain Azure AD tokens. With [Azure Key Vault](../../key-vault/general/overview.md), developers can use managed identities to access resources. Key Vault stores credentials in a secure manner and gives access to storage accounts.
27+
28+
The following video shows how you can use managed identities:</br>
2729

2830
> [!VIDEO https://docs.microsoft.com/Shows/On-NET/Using-Azure-Managed-identities/player?format=ny]
2931
3032

3133

32-
Here are some of the benefits of using Managed identities:
34+
Here are some of the benefits of using managed identities:
3335

34-
- You don't need to manage credentials. Credentials are not even accessible to you.
35-
- You can use managed identities to authenticate to any resource that supports [Azure Active Directory authentication](../authentication/overview-authentication.md) including your own applications.
36+
- You don't need to manage credentials. Credentials aren’t even accessible to you.
37+
- You can use managed identities to authenticate to any resource that supports [Azure AD authentication](../authentication/overview-authentication.md), including your own applications.
3638
- Managed identities can be used without any additional cost.
3739

3840
> [!NOTE]
@@ -42,53 +44,55 @@ Here are some of the benefits of using Managed identities:
4244

4345
There are two types of managed identities:
4446

45-
- **System-assigned** Some Azure services allow you to enable a managed identity directly on a service instance. When you enable a system-assigned managed identity an identity is created in Azure AD that is tied to the lifecycle of that service instance. So when the resource is deleted, Azure automatically deletes the identity for you. By design, only that Azure resource can use this identity to request tokens from Azure AD.
46-
- **User-assigned** You may also create a managed identity as a standalone Azure resource. You can [create a user-assigned managed identity](how-to-manage-ua-identity-portal.md) and assign it to one or more instances of an Azure service. In the case of user-assigned managed identities, the identity is managed separately from the resources that use it. </br></br>
47+
- **System-assigned**. Some Azure services allow you to enable a managed identity directly on a service instance. When you enable a system-assigned managed identity, an identity is created in Azure AD. The identity is tied to the lifecycle of that service instance. When the resource is deleted, Azure automatically deletes the identity for you. By design, only that Azure resource can use this identity to request tokens from Azure AD.
48+
- **User-assigned**. You may also create a managed identity as a standalone Azure resource. You can [create a user-assigned managed identity](how-to-manage-ua-identity-portal.md) and assign it to one or more instances of an Azure service. For user-assigned managed identities, the identity is managed separately from the resources that use it. </br></br>
4749

4850

49-
The table below shows the differences between the two types of managed identities.
51+
The following table shows the differences between the two types of managed identities:
5052

5153
| Property | System-assigned managed identity | User-assigned managed identity |
5254
|------|----------------------------------|--------------------------------|
53-
| Creation | Created as part of an Azure resource (for example, an Azure virtual machine or Azure App Service) | Created as a stand-alone Azure resource |
55+
| Creation | Created as part of an Azure resource (for example, Azure Virtual Machines or Azure App Service). | Created as a stand-alone Azure resource. |
5456
| Life cycle | Shared life cycle with the Azure resource that the managed identity is created with. <br/> When the parent resource is deleted, the managed identity is deleted as well. | Independent life cycle. <br/> Must be explicitly deleted. |
55-
| Sharing across Azure resources | Cannot be shared. <br/> It can only be associated with a single Azure resource. | Can be shared <br/> The same user-assigned managed identity can be associated with more than one Azure resource. |
56-
| Common use cases | Workloads that are contained within a single Azure resource <br/> Workloads for which you need independent identities. <br/> For example, an application that runs on a single virtual machine | Workloads that run on multiple resources and which can share a single identity. <br/> Workloads that need pre-authorization to a secure resource as part of a provisioning flow. <br/> Workloads where resources are recycled frequently, but permissions should stay consistent. <br/> For example, a workload where multiple virtual machines need to access the same resource |
57+
| Sharing across Azure resources | Can’t be shared. <br/> It can only be associated with a single Azure resource. | Can be shared. <br/> The same user-assigned managed identity can be associated with more than one Azure resource. |
58+
| Common use cases | Workloads that are contained within a single Azure resource. <br/> Workloads for which you need independent identities. <br/> For example, an application that runs on a single virtual machine. | Workloads that run on multiple resources and can share a single identity. <br/> Workloads that need pre-authorization to a secure resource, as part of a provisioning flow. <br/> Workloads where resources are recycled frequently, but permissions should stay consistent. <br/> For example, a workload where multiple virtual machines need to access the same resource. |
5759

5860
> [!IMPORTANT]
59-
> Regardless of the type of identity chosen a managed identity is a service principal of a special type that may only be used with Azure resources. When the managed identity is deleted, the corresponding service principal is automatically removed.
61+
> Regardless of the type of identity chosen, a managed identity is a service principal of a special type that can only be used with Azure resources. When the managed identity is deleted, the corresponding service principal is automatically removed.
62+
63+
<br/>
6064

6165
## How can I use managed identities for Azure resources?
6266

63-
![some examples of how a developer may use managed identities to get access to resources from their code without managing authentication information](media/overview/when-use-managed-identities.png)
67+
[![This flowchart shows examples of how a developer may use managed identities to get access to resources from their code without managing authentication information.](media/overview/when-use-managed-identities.png)](media/overview/when-use-managed-identities.png#lightbox)
6468

6569
## What Azure services support the feature?<a name="which-azure-services-support-managed-identity"></a>
6670

67-
Managed identities for Azure resources can be used to authenticate to services that support Azure AD authentication. For a list of Azure services that support the managed identities for Azure resources feature, see [Services that support managed identities for Azure resources](./services-support-managed-identities.md).
71+
Managed identities for Azure resources can be used to authenticate to services that support Azure AD authentication. For a list of supported Azure services, see [services that support managed identities for Azure resources](./services-support-managed-identities.md).
6872

6973
## Which operations can I perform using managed identities?
7074

7175
Resources that support system assigned managed identities allow you to:
7276

7377
- Enable or disable managed identities at the resource level.
74-
- Use RBAC roles to [grant permissions](howto-assign-access-portal.md).
75-
- View create, read, update, delete (CRUD) operations in [Azure Activity logs](../../azure-monitor/essentials/activity-log.md).
76-
- View sign-in activity in Azure AD [sign-in logs](../reports-monitoring/concept-sign-ins.md).
78+
- Use role-based access control (RBAC) to [grant permissions](howto-assign-access-portal.md).
79+
- View the create, read, update, and delete (CRUD) operations in [Azure Activity logs](../../azure-monitor/essentials/activity-log.md).
80+
- View sign in activity in Azure AD [sign in logs](../reports-monitoring/concept-sign-ins.md).
7781

7882
If you choose a user assigned managed identity instead:
7983

80-
- You can [create, read, update, delete](how-to-manage-ua-identity-portal.md) the identities.
84+
- You can [create, read, update, and delete](how-to-manage-ua-identity-portal.md) the identities.
8185
- You can use RBAC role assignments to [grant permissions](howto-assign-access-portal.md).
8286
- User assigned managed identities can be used on more than one resource.
8387
- CRUD operations are available for review in [Azure Activity logs](../../azure-monitor/essentials/activity-log.md).
84-
- View sign-in activity in Azure AD [sign-in logs](../reports-monitoring/concept-sign-ins.md).
88+
- View sign in activity in Azure AD [sign in logs](../reports-monitoring/concept-sign-ins.md).
8589

86-
Operations on managed identities may be performed by using an Azure Resource Manager (ARM) template, the Azure portal, the Azure CLI, PowerShell, and REST APIs.
90+
Operations on managed identities can be performed by using an Azure Resource Manager template, the Azure portal, Azure CLI, PowerShell, and REST APIs.
8791

8892
## Next steps
8993

9094
* [Use a Windows VM system-assigned managed identity to access Resource Manager](tutorial-windows-vm-access-arm.md)
9195
* [Use a Linux VM system-assigned managed identity to access Resource Manager](tutorial-linux-vm-access-arm.md)
9296
* [How to use managed identities for App Service and Azure Functions](../../app-service/overview-managed-identity.md)
9397
* [How to use managed identities with Azure Container Instances](../../container-instances/container-instances-managed-identity.md)
94-
* [Implementing Managed Identities for Microsoft Azure Resources](https://www.pluralsight.com/courses/microsoft-azure-resources-managed-identities-implementing).
98+
* [Implementing managed identities for Microsoft Azure Resources](https://www.pluralsight.com/courses/microsoft-azure-resources-managed-identities-implementing)

0 commit comments

Comments
 (0)