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

后端 未结 8 1715
时光说笑
时光说笑 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:18

    Not sure where everyone is getting their answers from...
    Maybe it's just old information, but at this time you can find them by doing the following:

    1. Go to portal.azure.com
    2. Select "Create a resource"
    3. Create a resource. I'm using computer vision so I search for that and hit enter
    4. Select "create"
    5. Go to the newly created resource
    6. On the left side panel under the "Resource Management" section select "Keys and Endpoint"

    Key 1 and Key 2 are used as the "Ocp-Apim-Subscription-Key".
    That's it. Those should work for you wherever it asks for the "Ocp-Apim-Subscription-Key".

提交回复
热议问题