Skip to content

Commit e60a924

Browse files
committed
Subscription key note update - Immersive Reader
1 parent cc67384 commit e60a924

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

articles/applied-ai-services/immersive-reader/includes/quickstarts/immersive-reader-client-library-csharp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ Create a new project in Visual Studio, using the ASP.NET Core Web Application te
3939

4040
Right-click on the project in the _Solution Explorer_ and choose **Manage User Secrets**. This will open a file called _secrets.json_. This file isn't checked into source control. Learn more [here](/aspnet/core/security/app-secrets?tabs=windows). Replace the contents of _secrets.json_ with the following, supplying the values given when you created your Immersive Reader resource.
4141

42+
> [!IMPORTANT]
43+
> Remember to remove the keys from your code when you're done, and never post them 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/cognitive-services-security.md) article for more information.
44+
4245
```json
4346
{
4447
"TenantId": "YOUR_TENANT_ID",

articles/applied-ai-services/immersive-reader/includes/quickstarts/immersive-reader-client-library-java-android.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ Create a new **/assets** folder.
5151

5252
Create a file named **env** inside the assets folder. Add the following names and values, and supply values as appropriate. Don't commit this env file into source control because it contains secrets that shouldn't be made public.
5353

54+
> [!IMPORTANT]
55+
> Remember to remove the keys from your code when you're done, and never post them 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/cognitive-services-security.md) article for more information.
56+
5457
![Create a new env file - Android](../../media/android/java/android-studio-create-env-file.png)
5558

5659
```text

articles/applied-ai-services/immersive-reader/includes/quickstarts/immersive-reader-client-library-kotlin.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Create a new **/assets** folder.
4949

5050
Create a file named **env** inside the assets folder. Add the following names and values, and supply values as appropriate. Don't commit this env file into source control because it contains secrets that shouldn't be made public.
5151

52+
> [!IMPORTANT]
53+
> Remember to remove the keys from your code when you're done, and never post them 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/cognitive-services-security.md) article for more information.
54+
5255
![Create a new env file - Kotlin](../../media/android/kotlin/android-studio-create-env-file.png)
5356

5457
```text

articles/applied-ai-services/immersive-reader/includes/quickstarts/immersive-reader-client-library-nodejs.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ npm install axios qs
5555
Create a new file called _.env_ in the root of your project. Paste the following code into it, supplying the values given when you created your Immersive Reader resource.
5656
Do not include quotation marks or the "{" and "}" characters.
5757

58+
> [!IMPORTANT]
59+
> Remember to remove the keys from your code when you're done, and never post them 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/cognitive-services-security.md) article for more information.
60+
5861
```text
5962
TENANT_ID={YOUR_TENANT_ID}
6063
CLIENT_ID={YOUR_CLIENT_ID}

articles/applied-ai-services/immersive-reader/includes/quickstarts/immersive-reader-client-library-swift.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ In the **Run** view, click on **Arguments** tab.
4444

4545
In the **Environment Variables** section, add the following names and values, supplying the values given when you created your Immersive Reader resource.
4646

47+
> [!IMPORTANT]
48+
> Remember to remove the keys from your code when you're done, and never post them 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/cognitive-services-security.md) article for more information.
49+
4750
```text
4851
TENANT_ID=<YOUR_TENANT_ID>
4952
CLIENT_ID=<YOUR_CLIENT_ID>

0 commit comments

Comments
 (0)