How do I get a subscription key?

jaeyeon jung 5 Reputation points
2023-10-17T10:20:37.8366667+00:00

hello.

"https://learn.microsoft.com/ko-kr/azure/ai-services/speech-service/how-to-translate-speech?tabs=terminal&pivots=programming-language-javascript"

I'm looking at that document and trying to implement the feature "Voice (Microphone Recording) - STT - Text Translation", but I don't know what the subscription key is, where can I find it?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,898 questions
{count} vote

2 answers

Sort by: Most helpful
  1. navba-MSFT 27,465 Reputation points Microsoft Employee
    2023-10-17T10:57:46.2233333+00:00

    @jaeyeon jung Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I understand that you are trying to implement the "Voice (Microphone Recording) - STT - Text Translation" feature using Microsoft Azure's Speech Service. However, you are unsure about where to find the subscription key.

    Here are the steps to retrieve the subscription keys for your Azure Speech Service:

    • Please open the Azure Speech Service Resource from your Azure Portal.
    • Then click on the Keys and Endpoint as shown below:
      User's image
    • Then you can click on the Show Keys and copy the Key 1 and Location in your Application
      User's image
    • Paste the Subscription Key and Region within your code.

    const speechTranslationConfig = SpeechTranslationConfig.fromSubscription("YourSubscriptionKey", "YourServiceRegion");

    Hope this helps.

    If you have any follow-up questions, please feel free to ask. I would be happy to help.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

  2. Ananth Hegde (anahegde) 20 Reputation points
    2025-01-20T11:43:23.2+00:00

    will one key works accross multiple regions?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.