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/search/search-get-started-rbac.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,23 @@ ms.topic: quickstart
10
10
ms.date: 11/26/2024
11
11
---
12
12
13
-
# Quickstart: Connect to Azure AI Search using role-based access control (RBAC)
13
+
# Quickstart: Connect without keys
14
14
15
-
Here are the comprehensive instructions for configuring Azure AI Search to use Microsoft Entra ID authentication and roles, including steps for connecting from your local system, running Jupyter notebooks, or using a REST client.
15
+
Configure Azure AI Search to use Microsoft Entra ID authentication and roles, including steps for connecting from your local system, running Jupyter notebooks, or using a REST client.
16
16
17
-
If you followed other quickstarts that connect using key-based authentication, these steps to switch to identity-based authentication and avoid hard-coded API keys in your example code.
17
+
If you step through other quickstarts that connect using API keys, these steps show you how to switch to identity-based authentication and avoid hard-coded API keys in your example code.
18
18
19
19
## Prerequisites
20
20
21
21
- An Azure subscription. [Create one for free](https://azure.microsoft.com/free/).
22
22
23
-
-[Azure AI Search](search-create-service-portal.md), any region or tier, but it needs to be Basic or higher to configure a system-assigned managed identity for Azure AI Search.
23
+
-[Azure AI Search](search-create-service-portal.md), any region or tier, but you need Basic or higher to configure a system-assigned managed identity for Azure AI Search.
24
24
25
25
- A command line tool, such as the [Azure CLI](/cli/azure/install-azure-cli).
26
26
27
-
## Step 1: Set Up Your Azure Subscription and Tenant
27
+
## Step 1: Set up your Azure subscription and tenant
28
28
29
-
Follow these steps if you have more than one Azure subscription or tenant. The active subscription and tenant must be valid for your search service.
29
+
This step is necessary if you have more than one subscription or tenant.
30
30
31
31
1. Get the Azure subscription and tenant for your search service:
32
32
@@ -50,7 +50,7 @@ Follow these steps if you have more than one Azure subscription or tenant. The a
50
50
51
51
`az account show --query tenantId --output tsv`
52
52
53
-
## Step 2: Configure Azure AI Search for Microsoft Entra ID Authentication
53
+
## Step 2: Configure Azure AI Search for Microsoft Entra ID authentication
54
54
55
55
1. Sign in to the Azure portal and navigate to your Azure AI Search service.
56
56
@@ -68,11 +68,11 @@ Follow these steps if you have more than one Azure subscription or tenant. The a
68
68
69
69
1. Select **+ Add** > **Add role assignment**.
70
70
71
-
1. Choose a role (e.g., Search Service Contributor, Search Index Data Contributor, Search Index Data Reader) and assign it to the appropriate Microsoft Entra user or group identity2. These three roles provide comprehensive permissions for creating, loading, and querying objects on Azure AI Search.
71
+
1. Choose a role (Search Service Contributor, Search Index Data Contributor, Search Index Data Reader) and assign it to your Microsoft Entra user or group identity. These three roles provide the full set of permissions for creating, loading, and querying objects on Azure AI Search.
72
72
73
-
## Step 3: Connect from Your Local System
73
+
## Step 3: Connect from your local system
74
74
75
-
### Using Python Notebooks
75
+
### Using Python and Jupyter notebooks
76
76
77
77
1. Install the Azure Identity and Azure Search libraries:
78
78
@@ -97,7 +97,7 @@ Follow these steps if you have more than one Azure subscription or tenant. The a
97
97
print(result)
98
98
```
99
99
100
-
### Using a REST Client
100
+
### Using a REST client
101
101
102
102
Several quickstarts and tutorials use a REST client, such as Visual Studio Code with the REST extension. Here's how you connect to Azure AI Search from Visual Studio Code.
103
103
@@ -129,7 +129,7 @@ Several quickstarts and tutorials use a REST client, such as Visual Studio Code
129
129
}
130
130
```
131
131
132
-
## Additional Configuration
132
+
## Additional configuration
133
133
134
134
Configure a managed identity for outbound connections:
0 commit comments