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
+20-11Lines changed: 20 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,26 +7,26 @@ ms.author: heidist
7
7
ms.service: azure-ai-search
8
8
9
9
ms.topic: quickstart
10
-
ms.date: 11/28/2024
10
+
ms.date: 11/29/2024
11
11
---
12
12
13
13
# Quickstart: Connect without keys
14
14
15
-
Configure Azure AI Search to use Microsoft Entra ID authentication and role-based access control (RBAC). Connect from your local system using your personal identity, using Jupyter notebooks or a REST client to interact with your search service.
15
+
Configure Azure AI Search to use Microsoft Entra ID authentication and role-based access control (RBAC). Connect from your local system with your personal identity, using Jupyter notebooks or a REST client to interact with your search service.
16
16
17
17
If you stepped through other quickstarts that connect using API keys, this quickstart shows you how to switch to identity-based authentication so that you can avoid hard-coded 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 you need 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 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
27
## Step 1: Get your Azure subscription and tenant IDs
28
28
29
-
This step is necessary if you have more than one subscription or tenant.
29
+
You need this step 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
@@ -38,13 +38,13 @@ This step is necessary if you have more than one subscription or tenant.
38
38
39
39
:::image type="content" source="media/search-get-started-rbac/select-subscription-name.png" lightbox="media/search-get-started-rbac/select-subscription-name.png" alt-text="Screenshot of the portal page providing the subscription name":::
40
40
41
-
1. Switching to your local device and a command prompt, identify the active Azure subscription and tenant:
41
+
1.You now know which subscription and tenant Azure AI Search is under. Switching to your local device and a command prompt, identify the active Azure subscription and tenant on your device:
42
42
43
43
```azurecli
44
44
az account show
45
45
```
46
46
47
-
1. If the active subscription is different from the information obtained in the previous step, change the subscription ID. Next, sign in to Azure using the tenant ID also found in the previous step:
47
+
1. If the active subscription and tenant differ from the information obtained in the previous step, change the subscription ID. Next, sign in to Azure using the tenant ID also found in the previous step:
48
48
49
49
```azurecli
50
50
az account set --subscription <your-subscription-id>
@@ -122,24 +122,33 @@ az login
122
122
123
123
### Using a REST client
124
124
125
-
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.
125
+
[Several quickstarts](search-get-started-vector.md)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.
0 commit comments