Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we expose api management endpoints in azure without the opim-subscription keys?

Can we have API management end point exposed with out the subscription key sent as a part of headers?

like image 306
Vinodh Avatar asked Dec 15 '16 05:12

Vinodh


People also ask

How can we expose APIs deployed in Azure to the external world?

This external exposure could be achieved using Azure Application Gateway forwarding requests to the internal API Management service, which in turn consumes the APIs deployed in the ASE.

How do I get my Azure API Management subscription key?

You can obtain access keys in the portal or through PowerShell, Azure CLI, or REST API. Sign in to the Azure portal. List the search services for your subscription. Select the service and on the Overview page, click Settings >Keys to view admin and query keys.


1 Answers

There is a very simple way to do this via the API Management interface.

On the APIs page, select your API, then click on the "Settings" tab. Scroll down to the "Subscription" section and uncheck the "Subscription required" option.

You will now be able to call your api without providing the subscription key either in the headers or as part of the querystring.

API Management screenshot

like image 178
Percy Avatar answered Oct 12 '22 09:10

Percy