Skip to content

Commit bd731d5

Browse files
committed
Update to more detailed Key Vault warning advice reusable content
1 parent 3a08224 commit bd731d5

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

articles/ai-services/personalizer/includes/quickstart-sdk-csharp.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ Personalizer is meant to run on applications that receive and interpret real-tim
9090

9191
1. Paste your key and endpoint into the code where indicated. Your endpoint has the form `https://<your_resource_name>.cognitiveservices.azure.com/`.
9292

93-
> [!IMPORTANT]
94-
> 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](/azure/key-vault/general/overview). See the Azure AI services [security](../../security-features.md) article for more information.
93+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
9594

9695
## Code block 2: Iterate the learning loop
9796

articles/ai-services/personalizer/includes/quickstart-sdk-nodejs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ The Personalizer learning loop is a cycle of **Rank** and **Reward** calls. In t
8787

8888
1. Paste your key and endpoint into the code where indicated.
8989

90-
> [!IMPORTANT]
91-
> 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](/azure/key-vault/general/overview). For more information about security, see the Azure AI services [security](../../security-features.md) article.
90+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
9291

9392
:::code language="js" source="~/cognitive-services-quickstart-code/javascript/Personalizer/quickstart-sdk/personalizer-quickstart.js" id="snippet_2":::
9493

articles/ai-services/personalizer/includes/quickstart-sdk-python.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ Follow these steps to set up the Personalizer script.
6565

6666
1. Paste your key and endpoint into the code where indicated. Your endpoint has the form `https://<your_resource_name>.cognitiveservices.azure.com/`.
6767

68-
> [!IMPORTANT]
69-
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure method to store and access your credentials like [Azure Key Vault](/azure/key-vault/general/overview). For more information, see the Azure AI services [security](../../security-features.md).
68+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
7069

7170
[!code-python[](~/cognitive-services-quickstart-code/python/Personalizer/quickstart-sdk/personalizer-quickstart.py?name=snippet_1)]
7271

0 commit comments

Comments
 (0)