Skip to content

Commit 35a0571

Browse files
authored
Merge pull request #284586 from MicrosoftDocs/main
8/13/2024 PM Publish
2 parents 3c48efc + 103c556 commit 35a0571

File tree

131 files changed

+1171
-1987
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+1171
-1987
lines changed

.openpublishing.redirection.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "articles/storage/files/files-samples-dotnet-v11.md",
5+
"redirect_url": "/previous-versions/azure/storage/files/files-samples-dotnet-v11",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "articles/storage/files/files-samples-java-v8.md",
10+
"redirect_url": "/previous-versions/azure/storage/files/files-samples-java-v8",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "articles/storage/files/files-samples-python-v2.md",
15+
"redirect_url": "/previous-versions/azure/storage/files/files-samples-python-v2",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "articles/storage/files/storage-c-plus-plus-how-to-use-files.md",
20+
"redirect_url": "/previous-versions/azure/storage/files/storage-c-plus-plus-how-to-use-files",
21+
"redirect_document_id": false
22+
},
23+
{
24+
"source_path": "articles/storage/queues/queues-v11-samples-dotnet.md",
25+
"redirect_url": "/previous-versions/azure/storage/queues/queues-v11-samples-dotnet",
26+
"redirect_document_id": false
27+
},
28+
{
29+
"source_path": "articles/storage/queues/queues-v2-samples-python.md",
30+
"redirect_url": "/previous-versions/azure/storage/queues/queues-v2-samples-python",
31+
"redirect_document_id": false
32+
},
333
{
434
"source_path": "articles/storage/files/storage-files-migration-storsimple-1200.md",
535
"redirect_url": "/previous-versions/azure/storage/files/storage-files-migration-storsimple-1200",
@@ -5051,4 +5081,4 @@
50515081
"redirect_document_id": false
50525082
}
50535083
]
5054-
}
5084+
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ 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)]
76+
7577
# [Command Line](#tab/command-line)
7678

7779
```CMD

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ 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)]
80+
7981
# [Command Line](#tab/command-line)
8082

8183
```CMD
@@ -185,8 +187,7 @@ namespace anomaly_detector_quickstart
185187

186188
```
187189

188-
> [!IMPORTANT]
189-
> 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 credential security, see the Azure AI services [security](../../../security-features.md) article.
190+
Run the application with the following command:
190191

191192
```cmd
192193
dotnet run program.cs

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ Use the Anomaly Detector client library for JavaScript to:
2525

2626
* An Azure subscription - <a href="https://azure.microsoft.com/free/cognitive-services" target="_blank">Create one for free</a>
2727
* The current version of <a href="https://nodejs.org/" target="_blank">Node.js</a>
28-
* 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.
29-
* You'll need the key and endpoint from the resource you create to connect your application to the Anomaly Detector API. You'll use the key and endpoint to create environment variables.
30-
You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
28+
* 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. You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
3129

3230
## Set up
3331

@@ -76,6 +74,8 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
7674

7775
Create and assign persistent environment variables for your key and endpoint.
7876

77+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
78+
7979
# [Command Line](#tab/command-line)
8080

8181
```CMD
@@ -130,7 +130,7 @@ const { AzureKeyCredential } = require("@azure/core-auth");
130130
const { parse } = require("csv-parse/sync");
131131
const fs = require("fs");
132132

133-
// You will need to set this environment variables or edit the following values
133+
// Retrieve the endpoint and key from the environment variables.
134134
const apiKey = process.env["ANOMALY_DETECTOR_API_KEY"] || "";
135135
const endpoint = process.env["ANOMALY_DETECTOR_ENDPOINT"] || "";
136136
const timeSeriesDataPath = "./request-data.csv";

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ 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)]
80+
7981
# [Command Line](#tab/command-line)
8082

8183
```CMD

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ 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)]
56+
5557
# [Command Line](#tab/command-line)
5658

5759
```CMD

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ 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)]
36+
3537
# [Command Line](#tab/command-line)
3638

3739
```CMD

articles/ai-services/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ items:
7676
href: authentication.md
7777
- name: Disable local authentication
7878
href: disable-local-auth.md
79+
- name: Use Azure key vault
80+
href: use-key-vault.md
7981
- name: Rotate keys
8082
href: rotate-keys.md
8183
- name: Use environment variables
@@ -84,8 +86,6 @@ items:
8486
href: ./encryption/cognitive-services-encryption-keys-portal.md
8587
- name: Use virtual networks
8688
href: cognitive-services-virtual-networks.md
87-
- name: Use Azure key vault
88-
href: use-key-vault.md
8989
- name: Configure data loss prevention
9090
href: cognitive-services-data-loss-prevention.md
9191
- name: Security baseline

articles/ai-services/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ In this sample, a password is used to authenticate the service principal. The to
251251
```
252252

253253
> [!NOTE]
254-
> Anytime you use passwords in a script, the most secure option is to use the PowerShell Secrets Management module and integrate with a solution such as Azure KeyVault.
254+
> Anytime you use passwords in a script, the most secure option is to use the PowerShell Secrets Management module and integrate with a solution such as Azure Key Vault.
255255
256256
3. Call the Computer Vision API:
257257
```powershell-interactive

articles/ai-services/cognitive-services-environment-variables.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
22
title: Use environment variables with Azure AI services
33
titleSuffix: Azure AI services
4-
description: "This guide shows you how to set and retrieve environment variables to handle your Azure AI services subscription credentials in a more secure way when you test out applications."
5-
#services: cognitive-services
6-
author: PatrickFarley
4+
description: This guide shows you how to set and retrieve environment variables for your Azure AI services credentials when you test applications.
5+
author: eric-urban
76
manager: nitinme
87
ms.service: azure-ai-services
98
ms.topic: how-to
10-
ms.date: 01/20/2024
11-
ms.author: pafarley
9+
ms.date: 8/11/2024
10+
ms.author: eur
1211
---
1312

1413
# Use environment variables with Azure AI services
1514

16-
This guide shows you how to set and retrieve environment variables to handle your Azure AI services subscription credentials in a more secure way when you test out applications.
15+
This guide shows you how to set and retrieve environment variables for your Azure AI services credentials when you test applications.
16+
17+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
1718

1819
## Set an environment variable
1920

0 commit comments

Comments
 (0)