Skip to content

Commit aea69c4

Browse files
add note for recommend using AAD
1 parent 293196b commit aea69c4

8 files changed

+22
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ Once you click the link above, please follow the steps below to set up the Codes
9797
```
9898

9999
### (Option 3) Use Endpoint and Key (No `azd` Required)
100+
> ⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments.
100101
1. Create [Azure AI Services resource](docs/create_azure_ai_service.md)
101102
2. Copy `notebooks/.env.sample` to `notebooks/.env`
102103
```bash

notebooks/analyzer_training.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@
6565
"> ⚠️ Important:\n",
6666
"You must update the code below to match your Azure authentication method.\n",
6767
"Look for the `# IMPORTANT` comments and modify those sections accordingly.\n",
68-
"If you skip this step, the sample may not run correctly."
68+
"If you skip this step, the sample may not run correctly.\n",
69+
"\n",
70+
"> ⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments."
6971
]
7072
},
7173
{

notebooks/build_person_directory.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
"> ⚠️ Important:\n",
3434
"You must update the code below to match your Azure authentication method.\n",
3535
"Look for the `# IMPORTANT` comments and modify those sections accordingly.\n",
36-
"If you skip this step, the sample may not run correctly."
36+
"If you skip this step, the sample may not run correctly.\n",
37+
"\n",
38+
"> ⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments."
3739
]
3840
},
3941
{

notebooks/classifier.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@
183183
"⚠️ Important:\n",
184184
"You must update the code below to match your Azure authentication method.\n",
185185
"Look for the `# IMPORTANT` comments and modify those sections accordingly.\n",
186-
"If you skip this step, the sample may not run correctly."
186+
"If you skip this step, the sample may not run correctly.\n",
187+
"\n",
188+
"⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments."
187189
]
188190
},
189191
{

notebooks/content_extraction.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
"> ⚠️ Important:\n",
4444
"You must update the code below to match your Azure authentication method.\n",
4545
"Look for the `# IMPORTANT` comments and modify those sections accordingly.\n",
46-
"If you skip this step, the sample may not run correctly."
46+
"If you skip this step, the sample may not run correctly.\n",
47+
"\n",
48+
"> ⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments."
4749
]
4850
},
4951
{

notebooks/conversational_field_extraction.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@
9393
"> ⚠️ Important:\n",
9494
"You must update the code below to match your Azure authentication method.\n",
9595
"Look for the `# IMPORTANT` comments and modify those sections accordingly.\n",
96-
"If you skip this step, the sample may not run correctly."
96+
"If you skip this step, the sample may not run correctly.\n",
97+
"\n",
98+
"> ⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments."
9799
]
98100
},
99101
{

notebooks/field_extraction.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@
103103
"> ⚠️ Important:\n",
104104
"You must update the code below to match your Azure authentication method.\n",
105105
"Look for the `# IMPORTANT` comments and modify those sections accordingly.\n",
106-
"If you skip this step, the sample may not run correctly."
106+
"If you skip this step, the sample may not run correctly.\n",
107+
"\n",
108+
"> ⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments."
107109
]
108110
},
109111
{

notebooks/management.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
"> ⚠️ Important:\n",
4444
"You must update the code below to match your Azure authentication method.\n",
4545
"Look for the `# IMPORTANT` comments and modify those sections accordingly.\n",
46-
"If you skip this step, the sample may not run correctly."
46+
"If you skip this step, the sample may not run correctly.\n",
47+
"\n",
48+
"> ⚠️ Note: Using a subscription key works, but using a token provider with Azure Active Directory (AAD) is much safer and is highly recommended for production environments."
4749
]
4850
},
4951
{

0 commit comments

Comments
 (0)