Azure API Managment custom domain names with user assigned identity

Florian Eberl 6 Reputation points
2021-08-18T10:49:10.33+00:00

Steps (Azure portal):

  1. Create Azure APIM (internal vnet, no system assigned managed identity!)
  2. Create own Managed identity (user managed identity) - UAI
  3. Create KeyVault
  4. UAI: Create Role Assignment for UIA and KeyVault with Reader role and Scope KeyVault
  5. KeyVault: Create KeyVault Access Policy for UAI with Get, List for Secrets and Certs
  6. APIM: Assign UAI to APIM instance (no SystemAssigned Identity!)
  7. KeyVault: Upload a cert to KeyVault for custom domain name
  8. APIM: Try to create custom domain name in APIM, select Cert from KeyVault and then click add

Issue:
Portal asks me to grant Get/List to APIM instance. Why ? UAI should have that already!
If I click yes on the dialog that asks if I want to grant that policy an error occurs.

124180-screenshot-2021-08-18-at-113044.png

SystemAssigned Identity works by the way.

Did I miss something here ?

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,100 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,741 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,381 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,516 Reputation points Microsoft Employee
    2021-08-24T13:14:01.487+00:00

    @Florian Eberl While using user-assigned managed idetities for TLS/SSL certs is supported, looks like this isn't supported in the portal but is possible to setup using ARM Templates or the ARM REST API.

    0 comments No comments