Skip to content

Commit da83b4c

Browse files
Yuantao WangYuantao Wang
authored andcommitted
rbac
1 parent b51100a commit da83b4c

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

articles/ai-services/openai/how-to/use-your-data-securely.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -195,21 +195,11 @@ To allow your other resources to recognize the Azure AI Search using Microsoft E
195195
:::image type="content" source="../media/use-your-data/outbound-managed-identity-ai-search.png" alt-text="A screenshot showing the managed identity setting for Azure AI Search in the Azure portal." lightbox="../media/use-your-data/outbound-managed-identity-ai-search.png":::
196196

197197
### Enable role-based access control
198-
As Azure OpenAI uses managed identity to access Azure AI Search, you need to enable role-based access control in your Azure AI Search. To do it on Azure portal, select **Both** in the **Keys** tab in the Azure portal.
198+
As Azure OpenAI uses managed identity to access Azure AI Search, you need to enable role-based access control in your Azure AI Search. To do it on Azure portal, select **Both** or **Role-based access control** in the **Keys** tab in the Azure portal.
199199

200200
:::image type="content" source="../media/use-your-data/managed-identity-ai-search.png" alt-text="A screenshot showing the managed identity option for Azure AI search in the Azure portal." lightbox="../media/use-your-data/managed-identity-ai-search.png":::
201201

202-
To enable role-based access control via the REST API, set `authOptions` as `aadOrApiKey`. For more information, see the [Azure AI Search RBAC article](/azure/search/search-security-rbac?tabs=config-svc-rest%2Croles-portal%2Ctest-portal%2Ccustom-role-portal%2Cdisable-keys-portal#configure-role-based-access-for-data-plane).
203-
204-
```json
205-
"disableLocalAuth": false,
206-
"authOptions": {
207-
"aadOrApiKey": {
208-
"aadAuthFailureMode": "http401WithBearerChallenge"
209-
}
210-
}
211-
```
212-
202+
For more information, see the [Azure AI Search RBAC article](/azure/search/search-security-enable-roles).
213203

214204
### Disable public network access
215205

0 commit comments

Comments
 (0)