Forum Discussion
Salam_ELIAS
Feb 10, 2023Brass Contributor
Where is subscription Key
I am following the exercise
Exercise: Create a backend API at
https://learn.microsoft.com/en-us/training/modules/explore-api-management/8-import-api
In step
Configure the backend settings
it is showed or not indicated to check "Subscription Required" however, in the test stage, step 2, it says
The Ocp-Apim-Subscription-Key is filled in automatically for the subscription key associated with this API
which is not true as you can notice in the my API snapshot
How come that it is generated, we dont see it anywhere and is bound to the API? Is it a mistake from the author?
1 Reply
Below for find or create the Subscription Key:
- Go to your APIM instance in Azure Portal
- Navigate to Subscriptions (under “Developer portal” or “Security”)
- You’ll see subscriptions like:
- Starter
- Unlimited
- Or custom ones you created
- Click on a subscription → You’ll find the Primary and Secondary keys
- Use one of these keys in the Ocp-Apim-Subscription-Key header when testing