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

后端 未结 8 1651
时光说笑
时光说笑 2021-01-01 16:32

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

Thanks.

8条回答
  •  一生所求
    2021-01-01 17:13

    I found the subscription key here:

    1. In the Azure portal, navigate to the "API Management service".
    2. Go to "Subscriptions" under the "APIs"-heading.
    3. Press "Add subscription".
    4. Enter a "Name", select API as "Scope" then select your API under "API".
    5. Press "Save". This will create a subscription for the selected API.
    6. In the list of subscriptions, locate the subscription you just created, then press the "..."-button to the far right.
    7. Press "Show/hide keys".
    8. The subscription key is visible and can be copied from the "Primary key"-field.

提交回复
热议问题