Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find my Ocp-Apim-Subscription-Key in Windows azure

Tags:

I want to use an api, but i can't find the Ocp-Apim-Subscription-Key at the page below:

enter image description here

Thanks.

like image 738
YJ. Yang Avatar asked Nov 29 '16 14:11

YJ. Yang


People also ask

Where is OCP-Apim-subscription-key Azure?

The subscription key can be found under user profile in the API Manager Portal. The subscription key is assigned to the Ocp-Apim-Subscription-Key parameter the header.

How do I find my Azure 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.

What is subscription key in Apim?

What are subscriptions? By publishing APIs through API Management, you can easily secure API access using subscription keys. Developers who need to consume the published APIs must include a valid subscription key in HTTP requests when calling those APIs.


1 Answers

You can find it by going to API Management services, then APIs. Select your API, your endpoint and then select the Test tab on the right hand side. Go down to Headers and against Ocp-Apim-Subscription-Key you will see it hidden; select the eye to see it.

enter image description here

like image 74
Patrick Gawley Avatar answered Sep 29 '22 19:09

Patrick Gawley