You are configuring an Azure API Management (APIM) instance to route traffic to a backend service that requires mutual TLS (mTLS) authentication. You upload the client certificate to the APIM instance. You need to ensure that APIM presents this client certificate when sending requests to the backend service. Which configuration should you apply to meet this requirement?
- Add the authentication-certificate policy with the certificate thumbprint or ID to the inbound section of the API policy.Cevap
- BAdd the authentication-certificate policy with the certificate thumbprint or ID to the outbound section of the API policy.
- CAdd the authentication-certificate policy with the certificate thumbprint or ID to the on-error section of the API policy.
- DGrant the APIM system-assigned managed identity GET permissions in the Azure Key Vault access policy for secrets and certificates, and rely on default credential forwarding.
Cevap
Add the authentication-certificate policy with the certificate thumbprint or ID to the inbound section of the API policy.
The correct option is to apply the authentication-certificate policy in the inbound section. This instructs the gateway to use the specified client certificate when executing the outbound request to the backend service. Because the backend connection is initiated during or immediately after the inbound processing phase, policies affecting authentication to the backend must be declared in the inbound block.
Adım Adım Çözüm
Anahtar Kavram
Configuring client certificate authentication for backends in Azure API Management
Tahmini Süre:1m 30s