Skip to content

Commit 562cd47

Browse files
authored
Merge pull request #206057 from DenKenMSFT/UserStory1971500-39
Subscription key note update - Speech Service, Quickstart
2 parents 236d6b9 + b20e232 commit 562cd47

File tree

6 files changed

+19
-0
lines changed

6 files changed

+19
-0
lines changed

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/cpp.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ Follow these steps to create a new console application and install the Speech SD
4545
--key YourSubscriptionKey --region YourServiceRegion --input c:\caption\caption.this.mp4 --format any --output c:\caption\caption.output.txt - --srt --recognizing --threshold 5 --profanity mask --phrases "Contoso;Jessie;Rehaan"
4646
```
4747
Replace `YourSubscriptionKey` with your Speech resource key, and replace `YourServiceRegion` with your Speech resource [region](~/articles/cognitive-services/speech-service/regions.md), such as `westus` or `northeurope`. Make sure that the paths specified by `--input` and `--output` are valid. Otherwise you must change the paths.
48+
49+
> [!IMPORTANT]
50+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../../cognitive-services-security.md) article for more information.
51+
4852
1. [Build and run](/cpp/build/vscpp-step-2-build) the console application. The output file with complete captions is written to `c:\caption\caption.output.txt`. Intermediate results are shown in the console:
4953
```console
5054
00:00:00,180 --> 00:00:01,600

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/csharp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ Follow these steps to create a new console application and install the Speech SD
4848
```
4949
Replace `YourSubscriptionKey` with your Speech resource key, and replace `YourServiceRegion` with your Speech resource [region](~/articles/cognitive-services/speech-service/regions.md), such as `westus` or `northeurope`. Make sure that the paths specified by `--input` and `--output` are valid. Otherwise you must change the paths.
5050
51+
> [!IMPORTANT]
52+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../../cognitive-services-security.md) article for more information.
53+
5154
The output file with complete captions is written to `c:\caption\caption.output.txt`. Intermediate results are shown in the console:
5255
```console
5356
00:00:00,180 --> 00:00:01,600

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/go.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ Follow these steps to create a new GO module and install the Speech SDK.
4747
```
4848
Replace `YourSubscriptionKey` with your Speech resource key, and replace `YourServiceRegion` with your Speech resource [region](~/articles/cognitive-services/speech-service/regions.md), such as `westus` or `northeurope`. Make sure that the paths specified by `--input` and `--output` are valid. Otherwise you must change the paths.
4949

50+
> [!IMPORTANT]
51+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../../cognitive-services-security.md) article for more information.
52+
5053
The output file with complete captions is written to `caption.output.txt`. Intermediate results are shown in the console:
5154
```console
5255
00:00:00,180 --> 00:00:01,600

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/java.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ Follow these steps to create a new console application and install the Speech SD
8282
```
8383
Replace `YourSubscriptionKey` with your Speech resource key, and replace `YourServiceRegion` with your Speech resource [region](~/articles/cognitive-services/speech-service/regions.md), such as `westus` or `northeurope`. Make sure that the paths specified by `--input` and `--output` are valid. Otherwise you must change the paths.
8484

85+
> [!IMPORTANT]
86+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../../cognitive-services-security.md) article for more information.
87+
8588
The output file with complete captions is written to `c:\caption\caption.output.txt`. Intermediate results are shown in the console:
8689
```console
8790
00:00:00,180 --> 00:00:01,600

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/javascript.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ Follow these steps to create a Node.js console application and install the Speec
4343
> [!NOTE]
4444
> The Speech SDK for JavaScript does not support [compressed input audio](~/articles/cognitive-services/speech-service/how-to-use-codec-compressed-audio-input-streams.md). You must use a WAV file as shown in the example.
4545

46+
> [!IMPORTANT]
47+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../../cognitive-services-security.md) article for more information.
48+
4649
The output file with complete captions is written to `c:\caption\caption.output.txt`. Intermediate results are shown in the console:
4750
```console
4851
00:00:00,180 --> 00:00:01,600

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/python.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ Follow these steps to create a new console application.
4545
```
4646
Replace `YourSubscriptionKey` with your Speech resource key, and replace `YourServiceRegion` with your Speech resource [region](~/articles/cognitive-services/speech-service/regions.md), such as `westus` or `northeurope`. Make sure that the paths specified by `--input` and `--output` are valid. Otherwise you must change the paths.
4747

48+
> [!IMPORTANT]
49+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../../cognitive-services-security.md) article for more information.
50+
4851
The output file with complete captions is written to `caption.output.txt`. Intermediate results are shown in the console:
4952
```console
5053
00:00:00,180 --> 00:00:01,600

0 commit comments

Comments
 (0)