Skip to content

Commit c524db6

Browse files
Merge pull request #279824 from HeidiSteen/heidist-june28
misc edits
2 parents f6b5825 + c3dda1b commit c524db6

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

articles/search/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,14 +422,14 @@
422422
items:
423423
- name: Configure network access
424424
href: service-configure-firewall.md
425-
- name: Authenticate with keys
426-
href: search-security-api-keys.md
427425
- name: Enable role-based access
428426
href: search-security-enable-roles.md
429427
- name: Assign roles (users)
430428
href: search-security-rbac.md
431429
- name: Assign roles (apps)
432430
href: keyless-connections.md
431+
- name: Authenticate with keys
432+
href: search-security-api-keys.md
433433
- name: Outbound connections
434434
items:
435435
- name: Configure a managed identity

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ ms.topic: how-to
1313
ms.date: 06/28/2024
1414
---
1515

16-
# Connect to Azure AI Search using key authentication
16+
# Connect to Azure AI Search using keys
1717

18-
Azure AI Search offers key-based authentication that you can use on connections to your search service. An API key is a unique string composed of 52 randomly generated numbers and letters. A request made to a search service endpoint is accepted if both the request and the API key are valid.
18+
Azure AI Search offers key-based authentication for connections to your search service. An API key is a unique string composed of 52 randomly generated numbers and letters. In your source code, you can specify it as an [environment variable](/azure/ai-services/cognitive-services-environment-variables) or as an app setting in your project, and then reference the variable on the request. A request made to a search service endpoint is accepted if both the request and the API key are valid.
1919

20-
Key-based authentication is the default. You can replace it with [role-based access](search-security-enable-roles.md), which eliminates the need for hardcoded keys in your code.
20+
Key-based authentication is the default.
21+
22+
You can replace it with [role-based access](search-security-enable-roles.md), which eliminates the need for hardcoded keys in your codebase.
2123

2224
## Types of API keys
2325

articles/search/search-security-enable-roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.date: 06/18/2024
1414

1515
# Enable or disable role-based access control in Azure AI Search
1616

17-
If you want to use roles for authorized access to Azure AI Search, this article explains how to enable role-based access control for your search service.
17+
Before you can assign roles for authorized access to Azure AI Search, enable role-based access control on your search service.
1818

1919
Role-based access for data plane operations is optional, but recommended as the more secure option. The alternative is [key-based authentication](search-security-api-keys.md), which is the default.
2020

articles/search/search-security-rbac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 06/03/2024
1212
ms.custom: subject-rbac-steps, references_regions, devx-track-azurepowershell
1313
---
1414

15-
# Connect to Azure AI Search using role-based access controls
15+
# Connect to Azure AI Search using roles
1616

1717
Azure provides a global authentication and [role-based authorization system](../role-based-access-control/role-assignments-portal.yml) for all services running on the platform. In Azure AI Search, you can assign Azure roles for:
1818

0 commit comments

Comments
 (0)