You are deploying an Azure API Management (APIM) self-hosted gateway to an on-premises Kubernetes cluster to manage local microservices. You have created the gateway resource within your APIM instance in the Azure portal. You need to configure the self-hosted gateway container deployment so that it can successfully register and retrieve its configuration from the parent APIM instance. Which two environment variables must you configure on the container to enable this connection? (Select two.)
- config.service.endpointCevap
- gateway.auth.tokenCevap
- Cgateway.auth.key
- Dtelemetry.config.connectionstring
Cevap
To enable the self-hosted gateway to retrieve its configuration, you must configure the config.service.endpoint variable to point to the configuration endpoint URL and the gateway.auth.token variable to contain a valid access token.
The self-hosted gateway container connects to the Azure API Management control plane using the configuration service endpoint and authenticates via a gateway-specific access token. Therefore, the variables config.service.endpoint and gateway.auth.token must be set.
Adım Adım Çözüm
Anahtar Kavram
Self-hosted gateway deployment configuration parameters