@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:
- Then you can click on the Show Keys and copy the Key 1 and Location in your Application
- 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.