You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-studio/concepts/rbac-ai-studio.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.custom:
8
8
- ignite-2023
9
9
- build-2024
10
10
ms.topic: conceptual
11
-
ms.date: 5/21/2024
11
+
ms.date: 9/12/2024
12
12
ms.reviewer: deeikele
13
13
ms.author: larryfr
14
14
author: Blackmist
@@ -220,20 +220,20 @@ When you create a connection that uses Microsoft Entra ID authentication, you mu
220
220
221
221
| Resource connection | Role | Description |
222
222
|----------|------|-------------|
223
-
| Azure AI Search | Contributor | List API-Keys to list indexes from Azure OpenAI Studio. |
223
+
| Azure AI Search | Contributor | List API-Keys to list indexes from Azure AI Studio. |
224
224
| Azure AI Search | Search Index Data Contributor | Required for indexing scenarios |
225
-
| Azure AI services/Azure OpenAI | Cognitive Services OpenAI Contributor | Call public ingestion API from Azure OpenAI Studio. |
226
-
| Azure AI services/OpenAI | Cognitive Services User | List API-Keys from Azure OpenAI Studio. |
227
-
| Azure AI services/OpenAI | Contributor | Allows for calls to the control plane. |
225
+
| Azure AI services / Azure OpenAI | Cognitive Services OpenAI Contributor | Call public ingestion API from Azure AI Studio. |
226
+
| Azure AI services / Azure OpenAI | Cognitive Services User | List API-Keys from Azure AI Studio. |
227
+
| Azure AI services / Azure OpenAI | Contributor | Allows for calls to the control plane. |
228
228
229
229
When using Microsoft Entra ID authenticated connections in the chat playground, the services need to authorize each other to access the required resources. The admin performing the configuration needs to have the __Owner__ role on these resources to add role assignments. The following table lists the required role assignments for each resource. The __Assignee__ column refers to the system-assigned managed identity of the listed resource. The __Resource__ column refers to the resource that the assignee needs to access. For example, Azure OpenAI has a system-assigned managed identity that needs to be assigned the __Search Index Data Reader__ role for the Azure AI Search resource.
230
230
231
231
| Role | Assignee | Resource | Description |
232
232
|------|----------|----------|-------------|
233
-
| Search Index Data Reader | Azure AI services/OpenAI | Azure AI Search | Inference service queries the data from the index. Only used for inference scenarios. |
234
-
| Search Index Data Contributor | Azure AI services/OpenAI | Azure AI Search | Read-write access to content in indexes. Import, refresh, or query the documents collection of an index. Only used for ingestion and inference scenarios. |
235
-
| Search Service Contributor | Azure AI services/OpenAI | Azure AI Search | Read-write access to object definitions (indexes, aliases, synonym maps, indexers, data sources, and skillsets). Inference service queries the index schema for auto fields mapping. Data ingestion service creates index, data sources, skill set, indexer, and queries the indexer status. |
236
-
| Cognitive Services OpenAI Contributor | Azure AI Search | Azure AI services/OpenAI | Custom skill |
233
+
| Search Index Data Reader | Azure AI services / Azure OpenAI | Azure AI Search | Inference service queries the data from the index. Only used for inference scenarios. |
234
+
| Search Index Data Contributor | Azure AI services / Azure OpenAI | Azure AI Search | Read-write access to content in indexes. Import, refresh, or query the documents collection of an index. Only used for ingestion and inference scenarios. |
235
+
| Search Service Contributor | Azure AI services / Azure OpenAI | Azure AI Search | Read-write access to object definitions (indexes, aliases, synonym maps, indexers, data sources, and skillsets). Inference service queries the index schema for auto fields mapping. Data ingestion service creates index, data sources, skill set, indexer, and queries the indexer status. |
236
+
| Cognitive Services OpenAI Contributor | Azure AI Search | Azure AI services / Azure OpenAI | Custom skill |
237
237
| Cognitive Services OpenAI User | Azure OpenAI Resource for chat model | Azure OpenAI resource for embedding model | Required only if using two Azure OpenAI resources to communicate. |
238
238
239
239
> [!NOTE]
@@ -316,8 +316,8 @@ The following example defines a role for a developer using [Azure OpenAI Assista
316
316
{
317
317
"id": "",
318
318
"properties": {
319
-
"roleName": "CognitiveServices OpenAI Assistants API Developer",
320
-
"description": "Custom role to work with AOAI Assistants API",
319
+
"roleName": "Azure OpenAI Assistants API Developer",
320
+
"description": "Custom role to work with Azure OpenAI Assistants API",
Copy file name to clipboardExpand all lines: articles/ai-studio/how-to/develop/connections-add-sdk.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
title: How to add a new connection in AI Studio using the Azure Machine Learning SDK
3
3
titleSuffix: Azure AI Studio
4
4
description: This article provides instructions on how to add connections to other resources using the Azure Machine Learning SDK.
5
-
manager: nitinme
5
+
manager: scottpolly
6
6
ms.service: azure-ai-studio
7
7
ms.custom:
8
8
- build-2024
9
9
ms.topic: how-to
10
-
ms.date: 08/29/2024
10
+
ms.date: 9/12/2024
11
11
ms.reviewer: dantaylo
12
12
ms.author: larryfr
13
13
author: Blackmist
@@ -35,6 +35,12 @@ Connections are a way to authenticate and consume both Microsoft and other resou
35
35
36
36
There are various authentication methods for the different connection types. When you use Microsoft Entra ID, in addition to creating the connection you might also need to grant Azure role-based access control permissions before the connection can be used. For more information, visit [Role-based access control](../../concepts/rbac-ai-studio.md#scenario-connections-using-microsoft-entra-id-authentication).
37
37
38
+
> [!IMPORTANT]
39
+
> We recommend Microsoft Entra ID authentication with [managed identities for Azure resources](/azure/active-directory/managed-identities-azure-resources/overview) to avoid storing credentials with your applications that run in the cloud.
40
+
>
41
+
> 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.
42
+
43
+
38
44
## Azure OpenAI Service
39
45
40
46
The following example creates an Azure OpenAI Service connection.
0 commit comments