Skip to content

Commit e9c8838

Browse files
committed
edits
1 parent db35b70 commit e9c8838

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

articles/api-management/api-management-howto-log-event-hubs.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ The next step is to configure a [logger](/rest/api/apimanagement/current-ga/logg
5959

6060
Create and manage API Management loggers by using the [API Management REST API](/rest/api/apimanagement/current-preview/logger/create-or-update) directly or by using tools including [Azure PowerShell](/powershell/module/az.apimanagement/new-azapimanagementlogger), a Bicep template, or an Azure Resource Management template.
6161

62+
### Logger with managed identity credentials (recommended)
63+
64+
You can configure an API Management logger to an event hub using either a system-assigned or user-assigned managed identity credentials.
65+
6266
### Logger with system-assigned managed identity credentials
6367

64-
For prerequisites, see [Configure API Management managed identity](#option-2-configure-api-management-managed-identity).
68+
For prerequisites, see [Configure API Management managed identity](#option-1-configure-api-management-managed-identity).
6569

6670
#### [REST API](#tab/PowerShell)
6771

@@ -124,9 +128,9 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
124128
}
125129
```
126130
---
127-
### Logger with user-assigned managed identity credentials
131+
#### Logger with user-assigned managed identity credentials
128132

129-
For prerequisites, see [Configure API Management managed identity](#option-2-configure-api-management-managed-identity).
133+
For prerequisites, see [Configure API Management managed identity](#option-1-configure-api-management-managed-identity).
130134

131135
#### [REST API](#tab/PowerShell)
132136

@@ -193,7 +197,10 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
193197

194198
### Logger with connection string credentials
195199

196-
For prerequisites, see [Configure Event Hubs connection string](#option-1-configure-event-hubs-connection-string).
200+
For prerequisites, see [Configure Event Hubs connection string](#option-2-configure-event-hubs-connection-string).
201+
202+
> [!NOTE]
203+
> Where possible, Microsoft recommends configuring the logger with managed identity credentials. See [Configure logger with managed identity credentials](#logger-with-managed-identity-credentials-recommended), earlier in this article
197204
198205
#### [PowerShell](#tab/PowerShell)
199206

0 commit comments

Comments
 (0)