Skip to content

Commit e89657e

Browse files
committed
edits
1 parent 140afa7 commit e89657e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/search/search-security-api-keys.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Azure AI Search offers key-based authentication that you can use on connections
2020
Key-based authentication is the default. You can disable it if you opt in for role-based authentication.
2121

2222
> [!NOTE]
23-
> A quick note about "key" terminology. An *API key*, as described in this article, refers to a GUID used for authenticating a request. A separate term, *document key*, refers to a unique string in your indexed content that uniquely identifies documents in a search index.
23+
> A quick note about *key* terminology. An *API key* is a GUID used for authentication. A separate term, *document key* is a unique string in your indexed content that uniquely identifies documents in a search index.
2424
2525
## Types of API keys
2626

@@ -52,7 +52,7 @@ Set an admin key in the request header. You can't pass admin keys on the URI or
5252
Here's an example of admin API key usage on a create index request:
5353

5454
```http
55-
### Create a new index
55+
### Create an index
5656
POST {{baseUrl}}/indexes?api-version=2023-11-01 HTTP/1.1
5757
Content-Type: application/json
5858
api-key: {{adminApiKey}}
@@ -71,7 +71,8 @@ Set a query key in a request header for POST, or on the URI for GET. Query keys
7171
Here's an example of query API key usage on a Search Documents (GET) request:
7272

7373
```http
74-
GET /indexes/my-new-index/docs?search=*&api-version=2020-06-30&api-key={{queryApiKey}}
74+
### Query an index
75+
GET /indexes/my-new-index/docs?search=*&api-version=2023-11-01&api-key={{queryApiKey}}
7576
```
7677

7778
> [!NOTE]

0 commit comments

Comments
 (0)