Skip to content

Commit caf7737

Browse files
authored
Merge pull request #2988 from MicrosoftDocs/main
Publish to live, Sunday 4 AM PST, 2/16
2 parents 1cff62f + b5760a7 commit caf7737

21 files changed

+141
-120
lines changed

articles/ai-services/openai/how-to/on-your-data-configuration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ If you are using a published [web app](./use-web-app.md), you need to redeploy i
8181

8282
When using the API, pass the `filter` parameter in each API request. For example:
8383

84-
> [!IMPORTANT]
85-
> The following is for example only. If you use an API key, store it securely somewhere else, such as in [Azure Key Vault](/azure/key-vault/general/overview). Don't include the API key directly in your code, and never post it publicly.
84+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
8685

8786
For more information about AI services security, see [Authenticate requests to Azure AI services](/azure/ai-services/authentication).
8887

articles/ai-services/openai/includes/gpt-v-dotnet.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ Passwordless authentication is more secure than key-based alternatives and is th
101101
Console.WriteLine($"{chatCompletion.Content[0].Text}");
102102
```
103103
104-
> [!IMPORTANT]
105-
> For production, store and access your credentials using a secure method, such as [Azure Key Vault](/azure/key-vault/general/overview). For more information about credential security, see [Azure AI services security](../../security-features.md).
104+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/microsoft-entra-id-akv-expanded.md)]
106105
107106
1. Run the application using the `dotnet run` command or the run button at the top of Visual Studio:
108107

articles/ai-services/openai/includes/gpt-v-javascript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ Select an image from the [azure-samples/cognitive-services-sample-data-files](ht
227227
```console
228228
node quickstart.js
229229
```
230+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
230231

231232
---
232233

articles/ai-services/openai/includes/gpt-v-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Create a new Python file named _quickstart.py_. Open the new file in your prefer
9595
```console
9696
python quickstart.py
9797
```
98-
98+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
9999

100100
## Clean up resources
101101

articles/ai-services/openai/includes/gpt-v-typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Select an image from the [azure-samples/cognitive-services-sample-data-files](ht
249249
node quickstart.js
250250
```
251251

252-
252+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
253253

254254
---
255255

articles/ai-services/openai/includes/text-to-speech-dotnet.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ To make requests to your Azure OpenAI service, you need the service endpoint as
4343
- [Microsoft Entra ID](/entra/fundamentals/whatis) is the recommended approach for authenticating to Azure services and is more secure than key-based alternatives.
4444
- Access keys allow you to provide a secret key to connect to your resource.
4545
46-
> [!IMPORTANT]
47-
> Access keys should be used with caution. If your service access key is lost or accidentally exposed in an insecure location, your service may become vulnerable. Anyone who has the access key is able to authorize requests against the Azure OpenAI service.
46+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
4847
4948
### Get the Azure OpenAI endpoint
5049
@@ -100,9 +99,6 @@ The access key value can be found in the **Keys & Endpoint** section when examin
10099
Console.WriteLine("Finished streaming");
101100
```
102101
103-
> [!IMPORTANT]
104-
> For production, store and access your credentials using a secure method, such as [Azure Key Vault](/azure/key-vault/general/overview). For more information about credential security, see [Azure AI services security](../../security-features.md).
105-
106102
1. Run the application using the `dotnet run` command or the run button at the top of Visual Studio:
107103
108104
```dotnetcli

articles/ai-services/openai/includes/text-to-speech-javascript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ Your app's _package.json_ file will be updated with the dependencies.
176176
});
177177
178178
```
179+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
179180

180181
1. Run the script with the following command:
181182

articles/ai-services/openai/includes/text-to-speech-typescript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,5 @@ Your app's _package.json_ file will be updated with the dependencies.
204204
node Text-to-speech.js
205205
```
206206

207+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
207208
---

articles/ai-services/openai/includes/whisper-dotnet.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ Passwordless authentication is more secure than key-based alternatives and is th
9292
}
9393
```
9494
95-
> [!IMPORTANT]
96-
> For production, store and access your credentials using a secure method, such as [Azure Key Vault](/azure/key-vault/general/overview). For more information about credential security, see [Azure AI services security](../../security-features.md).
95+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
9796
9897
1. Run the application using the `dotnet run` command or the run button at the top of Visual Studio:
9998

articles/ai-services/openai/includes/whisper-javascript.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ Your app's _package.json_ file will be updated with the dependencies.
167167

168168
You can get sample audio files, such as *wikipediaOcelot.wav*, from the [Azure AI Speech SDK repository at GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/sampledata/audiofiles).
169169

170-
> [!IMPORTANT]
171-
> For production, store and access your credentials using a secure method, such as [Azure Key Vault](/azure/key-vault/general/overview). For more information about credential security, see [Azure AI services security](../../security-features.md).
170+
[!INCLUDE [Azure Key Vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
172171

173172
## Output
174173

0 commit comments

Comments
 (0)