Skip to content

Commit 3549c30

Browse files
committed
Edits
1 parent 9084680 commit 3549c30

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed
61.4 KB
Loading
53.3 KB
Loading

articles/search/search-get-started-rest.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If you don't have an Azure subscription, create a [free account](https://azure.m
2828

2929
## Download files
3030

31-
[Download a REST sample](https://github.com/Azure-Samples/azure-search-rest-samples/tree/main/Quickstart) from GitHub to send the requests in this quickstart. For more information, see [Downloading files from GitHub](https://docs.github.com/get-started/start-your-journey/downloading-files-from-github).
31+
[Download a REST sample](https://github.com/Azure-Samples/azure-search-rest-samples/tree/main/Quickstart) from GitHub to send the requests in this quickstart. Instructions can be found at [Downloading files from GitHub](https://docs.github.com/get-started/start-your-journey/downloading-files-from-github).
3232

3333
You can also start a new file on your local system and create requests manually by using the instructions in this article.
3434

@@ -40,33 +40,29 @@ You can find the search service endpoint in the Azure portal.
4040

4141
1. On the **Overview** home page, find the URL. An example endpoint might look like `https://mydemo.search.windows.net`.
4242

43-
You're pasting this endpoint into the `.rest` or `.http` file that you create in a later step.
43+
:::image type="content" source="media/search-get-started-rest/get-endpoint.png" alt-text="Screenshot of the URL property on the overview page.":::
44+
45+
You're pasting this endpoint into the `.rest` or `.http` file in a later step.
4446

4547
## Configure access
4648

4749
Requests to the search endpoint must be authenticated and authorized. You can use API keys or roles for this task. Keys are easier to start with, but roles are more secure.
4850

4951
### Use API keys
5052

51-
Select **Settings** > **Keys** and then copy an admin key. Admin keys are used to add, modify, and delete objects. There are two interchangeable admin keys. Copy either one
53+
Select **Settings** > **Keys** and then copy an admin key. Admin keys are used to add, modify, and delete objects. There are two interchangeable admin keys. Copy either one.
5254

53-
You're pasting this key into the `.rest` or `.http` file that you create in a later step.
55+
You're pasting this key into the `.rest` or `.http` file in a later step.
5456

55-
:::image type="content" source="media/search-get-started-rest/get-url-key.png" alt-text="Screenshot that shows the URL and API keys in the Azure portal.":::
57+
:::image type="content" source="media/search-get-started-rest/get-api-key.png" alt-text="Screenshot that shows the API keys in the Azure portal.":::
5658

5759
For more information, see [Connect to Azure AI Search using key authentication](search-security-api-keys.md).
5860

5961
### Use roles
6062

61-
Make sure your search service is [configured for role-based access](search-security-enable-roles.md).
62-
63-
You must have preconfigured [role-assignments for developer access](search-security-rbac.md#assign-roles-for-development). Your role assignments must grant permission to create, load, and query a search index.
64-
65-
Obtain your personal identity token using either the Azure CLI, Azure PowerShell, or the Azure portal.
63+
Make sure your search service is [configured for role-based access](search-security-enable-roles.md). You must have preconfigured [role-assignments for developer access](search-security-rbac.md#assign-roles-for-development). Your role assignments must grant permission to create, load, and query a search index.
6664

67-
This section assumes you're using a local client that connects to Azure AI Search on your behalf. An alternative approach is [getting a token for the client app](/entra/identity-platform/v2-oauth2-client-creds-grant-flow), assuming your application is [registered](/entra/identity-platform/quickstart-register-app) with Microsoft Entra ID.
68-
69-
You're pasting your personal identity token into the `.rest` or `.http` file that you create in a later step.
65+
In this section, obtain your personal identity token using either the Azure CLI, Azure PowerShell, or the Azure portal. You're pasting your personal identity token into the `.rest` or `.http` file in a later step.
7066

7167
#### [Azure CLI](#tab/azure-cli)
7268

@@ -103,6 +99,9 @@ Use the steps found here: [find the user object ID](/partner-center/find-ids-and
10399
104100
---
105101
102+
> [!NOTE]
103+
> This section assumes you're using a local client that connects to Azure AI Search on your behalf. An alternative approach is [getting a token for the client app](/entra/identity-platform/v2-oauth2-client-creds-grant-flow), assuming your application is [registered](/entra/identity-platform/quickstart-register-app) with Microsoft Entra ID.
104+
106105
## Set up Visual Studio Code
107106
108107
If you're not familiar with the REST client for Visual Studio Code, this section includes setup so that you can complete the tasks in this quickstart.

0 commit comments

Comments
 (0)