Skip to content

Commit c48a030

Browse files
authored
Merge pull request #206237 from DenKenMSFT/UserStory1971500-40
Subscription key note update - Translator
2 parents ba819c2 + 40734f8 commit c48a030

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

articles/cognitive-services/Translator/document-translation/get-started-with-document-translation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ gradle run
310310

311311
> [!IMPORTANT]
312312
>
313-
> For the code samples below, you'll hard-code your key and endpoint where indicated; remember to remove the key from your code when you're done, and never post it publicly. See [Azure Cognitive Services security](../../cognitive-services-security.md?tabs=command-line%2ccsharp) for ways to securely store and access your credentials.
313+
> For the code samples below, you'll hard-code your Shared Access Signature (SAS) URL where indicated. Remember to remove the SAS URL 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.
314314
>
315315
> You may need to update the following fields, depending upon the operation:
316316
>>>

articles/cognitive-services/Translator/quickstart-translator.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ For more information on Translator authentication options, *see* the [Translator
5656
|||
5757

5858
> [!IMPORTANT]
59-
>
60-
> Remember to remove the key from your code when you're done, and **never** post it publicly. For production, use secure methods to store and access your credentials. For more information, *see* Cognitive Services [security](../../cognitive-services/cognitive-services-security.md).
59+
> 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.
6160
6261
## Translate text
6362

articles/cognitive-services/Translator/translator-text-apis.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ In this how-to guide, you'll learn to use the [Translator service REST APIs](ref
4444

4545
:::image type="content" source="media/keys-and-endpoint-portal.png" alt-text="Screenshot: Azure portal keys and endpoint page.":::
4646

47+
> [!IMPORTANT]
48+
> 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.
49+
4750
## Headers
4851

4952
To call the Translator service via the [REST API](reference/rest-api-guide.md), you'll need to make sure the following headers are included with each request. Don't worry, we'll include the headers in the sample code in the following sections.

0 commit comments

Comments
 (0)