Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.22 KB

File metadata and controls

33 lines (22 loc) · 1.22 KB
title Include file
description Include file
services api-center
ms.service azure-api-center
ms.topic include
ms.date 12/20/2024
ms.custom Include file

For this scenario, your API center uses a managed identity to access Azure resources. Depending on your needs, enable either a system-assigned or one or more user-assigned managed identities.

The following examples show how to enable a system-assigned managed identity by using the Azure portal or the Azure CLI. At a high level, configuration steps are similar for a user-assigned managed identity.

  1. In the portal, go to your API center.
  2. In the sidebar menu, under Security, select Managed identities.
  3. Select System assigned, and set the status to On.
  4. Select Save.

Set the system-assigned identity in your API center using the following az apic update command. Substitute the names of your API center and resource group:

az apic update --name <api-center-name> --resource-group <resource-group-name> --identity '{"type": "SystemAssigned"}'