Skip to content

Commit 551116b

Browse files
Merge pull request #2877 from Orin-Thomas/orthomas-12Feb25-A
Update to more detailed Key Vault warning advice reusable content
2 parents 3e59d29 + bb6167e commit 551116b

8 files changed

+10
-13
lines changed

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-csharp-multivariate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
7272

7373
Create and assign persistent environment variables for your key and endpoint.
7474

75-
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
75+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
7676

7777
# [Command Line](#tab/command-line)
7878

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
7676

7777
Create and assign persistent environment variables for your key and endpoint.
7878

79-
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
79+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
8080

8181
# [Command Line](#tab/command-line)
8282

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-java-multivariate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ String key = "YOUR_API_KEY";
108108
String endpoint = "YOUR_ENDPOINT";
109109
```
110110

111-
> [!IMPORTANT]
112-
> 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.
111+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
113112

114113
To use the Anomaly Detector multivariate APIs, you need to first train your own models. Training data is a set of multiple time series that meet the following requirements:
115114

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-javascript-multivariate.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Use the Anomaly Detector multivariate client library for JavaScript to:
2525
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
2626
* The current version of [Node.js](https://nodejs.org/)
2727
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesAnomalyDetector" title="Create an Anomaly Detector resource" target="_blank">create an Anomaly Detector resource </a> in the Azure portal to get your key and endpoint. Wait for it to deploy and select the **Go to resource** button.
28-
* You'll need the key and endpoint from the resource you create to connect your application to the Anomaly Detector API. You'll paste your key and endpoint into the code below later in the quickstart.
28+
* You need the key and endpoint from the resource you create to connect your application to the Anomaly Detector API. You paste your key and endpoint into the code below later in the quickstart.
2929
You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
3030

3131
## Setting up
@@ -58,17 +58,15 @@ const { AzureKeyCredential } = require('@azure/core-auth');
5858
Create variables your resource's Azure endpoint and key. Create another variable for the example data file.
5959

6060
> [!NOTE]
61-
> You will always have the option of using one of two keys. This is to allow secure key rotation. For the purposes of this quickstart use the first key.
61+
> You'll always have the option of using one of two keys. This is to allow secure key rotation. For the purposes of this quickstart, use the first key.
6262
6363

6464
```javascript
6565
const apiKey = "YOUR_API_KEY";
6666
const endpoint = "YOUR_ENDPOINT";
6767
const data_source = "YOUR_SAMPLE_ZIP_FILE_LOCATED_IN_AZURE_BLOB_STORAGE_WITH_SAS";
6868
```
69-
70-
> [!IMPORTANT]
71-
> 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.
69+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
7270

7371
To use the Anomaly Detector multivariate APIs, you need to first train your own models. Training data is a set of multiple time series that meet the following requirements:
7472

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
7474

7575
Create and assign persistent environment variables for your key and endpoint.
7676

77-
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
77+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
7878

7979
# [Command Line](#tab/command-line)
8080

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-python-multivariate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
7676

7777
Create and assign persistent environment variables for your key and endpoint.
7878

79-
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
79+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
8080

8181
# [Command Line](#tab/command-line)
8282

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
5252

5353
Create and assign persistent environment variables for your key and endpoint.
5454

55-
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
55+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
5656

5757
# [Command Line](#tab/command-line)
5858

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
3232

3333
Create and assign persistent environment variables for your key and endpoint.
3434

35-
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
35+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
3636

3737
# [Command Line](#tab/command-line)
3838

0 commit comments

Comments
 (0)