Adrianchio
Adrianchio

Reputation: 21

Swagger Authorization keys

In Swagger I have had problems to configure the authorizations.
In Available authorizations there are two fields to fill:

Upvotes: 2

Views: 274

Answers (1)

jack
jack

Reputation: 1538

The two paramters can be found as follows:

1. subscription_key parameter: this can be found in Azure portal> Navigate to the Speech service that you must have created (Cognitive Service) or see here to create new Speech service > use the value from Key1

Mine looks like below : enter image description here

Things to remember :

  • The speech to text api (especially conversational api) is supported only in specific regions, I chose centralus.

  • The pricing tier should be S0 Standard to get the apis working (atleast for conversation apis)

2. token (apiKey) parameter :

  • You will need to generate the token by sending a post request to the speech service endpoint (see image above for location of endpoint url).
  • Add your subscription key as a header.
  • The post request will generate the access token as response

Things to remember :

Upvotes: 1

Related Questions