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/how-to/secure-data-playground.md
+28-26Lines changed: 28 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The following table summarizes the changes made in this article:
31
31
32
32
## Prerequisites
33
33
34
-
Ensure that the AI Studio hub is deployed with the __Identity-based access__ setting for the Storage account. This configuration is required for the correct access control and security of your AI Studio Hub. You can verify this in two ways:
34
+
Ensure that the AI Studio hub is deployed with the __Identity-based access__ setting for the Storage account. This configuration is required for the correct access control and security of your AI Studio Hub. You can verify this configuration using one of the following methods:
35
35
36
36
- In the Azure portal, select the hub and then select __Settings__, __Properties__, and __Options__. At the bottom of the page, verify that __Storage account access type__ is set to __Identity-based access__.
37
37
- If deploying using Azure Resource Manager or Bicep templates, include the `systemDatastoresAuthMode: 'identity'` property in your deployment template.
@@ -55,7 +55,7 @@ If you have an __existing Azure AI Studio hub__ that isn't configured to use a m
55
55
56
56
:::image type="content" source="../media/how-to/secure-playground-on-your-data/select-network-isolation-configuration.png" alt-text="Screenshot of the Azure AI Studio hub settings with allow internet outbound selected.":::
57
57
58
-
## Configure AI services Resource
58
+
## Configure Azure AI services Resource
59
59
60
60
Depending on your configuration, you might use an Azure AI services resource that also includes Azure OpenAI or a standalone Azure OpenAI resource. The steps in this section configure an AI services resource. The same steps apply to an Azure OpenAI resource.
61
61
@@ -164,41 +164,43 @@ Repeat these steps for each resource that you want to connect to using Microsoft
164
164
165
165
## Assign roles to resources and users
166
166
167
-
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, the Azure AI Search has a system-assigned managed identity that needs to be assigned the __Storage Blob Data Contributor__ role for the Azure Storage Account.
167
+
The services need to authorize each other to access the connected 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, the Azure AI Search has a system-assigned managed identity that needs to be assigned the __Storage Blob Data Contributor__ role for the Azure Storage Account.
168
168
169
-
| Role | Assignee | Resource | Description |
170
-
|------|----------|----------|-------------|
171
-
| Search Index Data Reader | Azure AI services/OpenAI | Azure AI Search | Inference service queries the data from the index. Only used for inference scenarios. |
172
-
| 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. |
173
-
| 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. |
174
-
| Storage Blob Data Contributor | Azure AI services/OpenAI | Azure Storage Account | Reads from the input container, and writes the preprocess result to the output container. |
175
-
| Cognitive Services OpenAI Contributor | Azure AI Search | Azure AI services/OpenAI | Custom skill |
176
-
| Storage Blob Data Contributor | Azure AI Search | Azure Storage Account | Reads blob and writes knowledge store. |
177
-
| 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. |
169
+
| Resource | Role | Assignee | Description |
170
+
|----------|------|----------|-------------|
171
+
| Azure AI Search | Search Index Data Contributor | Azure AI services/OpenAI | Read-write access to content in indexes. Import, refresh, or query the documents collection of an index. Only used for ingestion and inference scenarios. |
172
+
| Azure AI Search | Search Index Data Reader | Azure AI services/OpenAI | Inference service queries the data from the index. Only used for inference scenarios. |
173
+
| Azure AI Search | Search Service Contributor | Azure AI services/OpenAI | 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. |
174
+
| Azure AI services/OpenAI | Cognitive Services OpenAI Contributor | Azure AI Search | Custom skill |
175
+
| Azure OpenAI Resource for chat model | Cognitive Services OpenAI User | Azure OpenAI resource for embedding model | Required only if using two Azure OpenAI resources to communicate. |
176
+
| Azure Storage Account | Storage Blob Data Contributor | Azure AI Search | Reads blob and writes knowledge store. |
177
+
| Azure Storage Account | Storage Blob Data Contributor | Azure AI services/OpenAI | Reads from the input container, and writes the preprocess result to the output container. |
178
178
179
179
> [!NOTE]
180
180
> The Cognitive Services OpenAI User role is only required if you are using two Azure OpenAI resources: one for your chat model and one for your embedding model. If this applies, enable Trusted Services AND ensure the Connection for your embedding model Azure OpenAI resource has EntraID enabled.
181
181
182
-
To enable your developers to use these resources to build applications, add the developers' identity with the following role assignments to the resources.
182
+
To enable your developers to use these resources to build applications, add the developers' identity with the following role assignments to the listed resources.
183
183
184
-
User to Service Table
185
-
186
-
| Role | Resource | Description |
187
-
|------|----------|-------------|
188
-
| Cognitive Services OpenAI Contributor | Azure AI services/OpenAI | Call public ingestion API from Azure OpenAI Studio. |
189
-
| Cognitive Services User | Azure AI services/OpenAI | List API-Keys from Azure OpenAI Studio. |
190
-
| Contributor | Azure AI services/OpenAI | Allows for calls to the control plane. |
191
-
| Contributor | Azure AI Search | List API-Keys to list indexes from Azure OpenAI Studio. |
192
-
| Contributor | Azure Storage Account | List Account SAS to upload files from Azure OpenAI Studio. |
193
-
| Contributor | The resource group or Azure subscription where the developer need to deploy the web app to | Deploy web app to the developer's Azure subscription. |
194
-
| Storage File Data PrivilegedContributorRoleId | Azure Storage Account | Needed to Access File Share in Storage for Promptflow data |
| Search Index Data Contributor | Azure AI Search | Required for the indexing scenario |
184
+
| Resource | Role | Description |
185
+
|----------|------|-------------|
186
+
| Azure AI Search | Contributor | List API-Keys to list indexes from Azure OpenAI Studio. |
187
+
| Azure AI Search | Search Index Data Contributor | Required for the indexing scenario. |
188
+
| Azure AI services/OpenAI | Cognitive Services OpenAI Contributor | Call public ingestion API from Azure OpenAI Studio. |
189
+
| Azure AI services/OpenAI | Cognitive Services User | List API-Keys from Azure OpenAI Studio. |
190
+
| Azure AI services/OpenAI | Contributor | Allows for calls to the control plane. |
191
+
| Azure Storage Account | Contributor | List Account SAS to upload files from Azure OpenAI Studio. |
192
+
| Azure Storage Account | Storage Blob Data Contributor | Needed for developers to read and write to blob storage. |
193
+
| Azure Storage Account | Storage File Data PrivilegedContributorRoleId | Needed to Access File Share in Storage for Promptflow data. |
194
+
| The resource group or Azure subscription where the developer need to deploy the web app to | Contributor | Deploy web app to the developer's Azure subscription. |
197
195
198
196
## Use your data in AI Studio
199
197
200
198
Now, the data you add to AI Studio is secured to the isolated network provided by your Azure AI Studio hub and project. For an example of using data, visit the [build a question and answer copilot](../tutorials/deploy-copilot-ai-studio.md) tutorial.
201
199
200
+
## Deploy web apps
201
+
202
+
For information on configuring web app deployments, visit the [Use Azure OpenAI on your data securely](/azure/ai-services/openai/how-to/use-your-data-securely#web-app) article.
203
+
202
204
## Limitations
203
205
204
206
When using the Chat playground in Azure AI Studio, don't navigate to another tab within Studio. If you do navigate to another tab, when you return to the Chat tab you must remove your data and then add it back.
0 commit comments