Wednesday, July 10, 2019

Cognitive Services and Authentication using multi-service Subscription Key

Any request to Cognitive Services needs to be authenticated. For using multiple Cognitive Services like Computer Vision, Text Analytics, you can use still use a single subscription key to authenticate your requests.

Note: QnA Maker, Speech Services, Custom Vision, and Anomaly Detector services don’t support multi-support Subscription Key.















Pre-requisites
  • Azure Subscription
Steps
1. Log on to the Azure Portal
2. Create a new resource of type “Cognitive Service” from the marketplace.

















3. Type the name of the resource, subscription, location, pricing tier and resourcing group. Also pay attention to the online services terms.















4. Once the resource is created, note down the endpoint and access keys. The same access key can be used to authenticate any Cognitive Services like Custom Vision, Text Analytics etc.
























Download code: https://github.com/shantha05/CognitiveServices (CognitiveServicesDemo project)
Technorati Tags:


No comments:

Post a Comment