You are configuring a custom gateway domain for an Azure API Management (APIM) instance. The TLS certificate for the custom domain is stored in Azure Key Vault. You have enabled a system-assigned managed identity for the APIM instance. You need to configure the Azure Key Vault access policy to allow the APIM instance to retrieve the TLS certificate while adhering to the principle of least privilege. Which permission must you grant to the APIM system-assigned managed identity in the Key Vault access policy?
- `Get` permission under Secret permissionsAnswer
- B`Get` permission under Certificate permissions
- C`Get` permission under Key permissions
- D`List` permission under Secret permissions and `Get` permission under Certificate permissions
Answer
`Get` permission under Secret permissions
The correct answer is the option specifying the `Get` permission under Secret permissions. When configuring a custom domain in Azure API Management using a certificate stored in Key Vault, API Management must retrieve the complete certificate including the private key. In Azure Key Vault, the private key portion of a certificate is stored as a secret, which requires Secret Get permission to retrieve.
Step-by-Step Solution
Key Concept
Azure API Management custom domain configuration requires Key Vault Secret Get permissions to retrieve the certificate's private key.
Estimated Time:2m 0s