Skip to content

Commit baf5bf4

Browse files
committed
cosmos db sfi
1 parent ed513c1 commit baf5bf4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/ai-services/openai/references/cosmos-db.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to use Azure OpenAI on your Azure Cosmos DB data Python &
55
manager: nitinme
66
ms.service: azure-ai-openai
77
ms.topic: conceptual
8-
ms.date: 03/12/2024
8+
ms.date: 09/24/2024
99
author: mrbullwinkle
1010
ms.author: mbullwin
1111
recommendations: false
@@ -93,6 +93,12 @@ Prerequisites:
9393
* Configure the role assignments from the user to the Azure OpenAI resource. Required role: `Cognitive Services OpenAI User`.
9494
* Install [Az CLI](/cli/azure/install-azure-cli) and run `az login`.
9595
* Define the following environment variables: `AzureOpenAIEndpoint`, `ChatCompletionsDeploymentName`,`ConnectionString`, `Database`, `Container`, `Index`, `EmbeddingDeploymentName`.
96+
97+
> [!NOTE]
98+
> Microsoft does not recommend the username and password flow because the application will be asking a user for their password directly, which is an insecure pattern. In most scenarios, there exist more secure flows that you can use.
99+
>
100+
> 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.
101+
96102
```bash
97103
export AzureOpenAIEndpoint=https://example.openai.azure.com/
98104
export ChatCompletionsDeploymentName=turbo

0 commit comments

Comments
 (0)