Tuesday, July 09, 2019

Cognitive Services and Authentication using Single Subscription Key

Any request to Cognitive Services needs to be authenticated. For using single Cognitive Service like Computer Vision or Custom Vision you can use separate subscription key for each specific service to authenticate your requests.
Pre-requisites
  • Azure Subscription
Steps
1. Log on to the Azure Portal
2. Create a new resource “Computer Vision” from the marketplace.















3. Type a name for the resource, subscription, location, pricing tier and resourcing group.




















4. Once the resource is created, note down the endpoint and access keys. The access key can be used only to authenticate to “Computer Vision” resource and cannot be used to authenticate other Cognitive Services like Custom Vision, Text Analytics etc.


























Download code: https://github.com/shantha05/CognitiveServices
Technorati Tags: Cognitive Services

No comments:

Post a Comment