You are securing an API hosted in Azure API Management (APIM). The security requirements specify that:
1. The API must only accept requests from a partner's public IP address: 203.0.113.50.
2. The APIM gateway must retrieve a shared secret stored in Azure Key Vault to authenticate the request against a legacy backend service.
You configure a system-assigned managed identity for the APIM instance. Which of the following actions must you perform to successfully implement this configuration? Select two.
- Configure the <ip-filter> policy within the <inbound> section of the API policy to allow the IP address 203.0.113.50.Cevap
- Grant the APIM system-assigned managed identity Get secret permission in the Azure Key Vault access policy.Cevap
- CConfigure the <ip-filter> policy within the <outbound> section of the API policy to restrict access to the IP address 203.0.113.50.
- DCreate a user-assigned managed identity for APIM and grant access to the Key Vault, but configure APIM settings to use the system-assigned identity to retrieve the secret.
Cevap
Configure the <ip-filter> policy within the <inbound> section of the API policy to allow the IP address 203.0.113.50, and grant the APIM system-assigned managed identity Get secret permission in the Azure Key Vault access policy.
Securing APIM inbound traffic requires applying the IP filter in the inbound policy processing phase, and retrieving secrets from Azure Key Vault requires granting the system-assigned managed identity permission to retrieve those secrets.
Adım Adım Çözüm
Anahtar Kavram
Securing API Management endpoints by applying inbound policies (ip-filter) and securely accessing backend credentials using Azure Key Vault and Managed Identities.
Tahmini Süre:1m 30s