Skip to content

Commit 92f51cd

Browse files
authored
Enhance security guidance for managed identities
Added security considerations for user-assigned identity in API Management policies, including best practices for role assignments and access control.
1 parent f6915c9 commit 92f51cd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

articles/api-management/api-management-howto-use-managed-service-identity.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,12 @@ You can use a user-assigned managed identity to access Key Vault to store and ma
487487

488488
You can use the user-assigned identity to authenticate to a backend service via the [authentication-managed-identity](authentication-managed-identity-policy.md) policy.
489489

490+
> [!CAUTION]
491+
> **Security consideration:** Users with permissions to edit API Management policies (for example, users assigned the [API Management Service Contributor](/azure/role-based-access-control/built-in-roles#api-management-service-contributor) role) can use the [`authentication-managed-identity`](authentication-managed-identity-policy.md) policy to authenticate as the service's managed identity. When you assign roles or permissions to the API Management resouce, be aware that any user who can edit policies may be able to access those same resources through the managed identity. To mitigate risk:
492+
> - Follow the [principle of least privilege](/entra/identity-platform/secure-least-privileged-access) when assigning roles to managed identities.
493+
> - Only grant the API Management Contributor role or policy editing permissions to trusted users.
494+
> - Regularly review and audit managed identity role assignments and who has access to edit API Management policies.
495+
490496
### Log events to an event hub
491497

492498
You can configure and use a user-assigned managed identity to access an event hub to log events from an API Management instance. For more information, see [How to log events to Azure Event Hubs in Azure API Management](api-management-howto-log-event-hubs.md).

0 commit comments

Comments
 (0)