Skip to content

Commit d30c826

Browse files
committed
Updated screenshots
1 parent f6b4f77 commit d30c826

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

articles/event-hubs/event-hubs-get-connection-string.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
title: Get connection string - Azure Event Hubs
3-
description: This article provides instructions for getting a connection string that clients can use to connect to Azure Event Hubs.
2+
title: Get Connection String for Azure Event Hubs
3+
description: Learn how to get a connection string for Azure Event Hubs using the portal, PowerShell, or CLI to enable secure communication with your event hub.
44
ms.topic: how-to
55
ms.custom: devx-track-azurepowershell, devx-track-azurecli
6-
ms.date: 11/18/2024
6+
ms.date: 08/11/2025
77
# Customer intent: As a developer, I want to know how to get a connection string to an Event Hubs namespace or an event hub.
88
---
99

10-
# Get an Event Hubs connection string
10+
11+
# Get an Azure Event Hubs connection string
1112
To communicate with an event hub in a namespace, you need a connection string for the namespace or the event hub. If you use a connection string to the namespace from your application, the application will have the provided access (manage, read, or write) to all event hubs in the namespace. If you use a connection string to the event hub, you'll have the provided access to that specific event hub.
1213

1314
The connection string for a namespace has the following components embedded within it,
@@ -22,7 +23,7 @@ The connection string for a namespace looks like:
2223
Endpoint=sb://<NamespaceName>.servicebus.windows.net/;SharedAccessKeyName=<KeyName>;SharedAccessKey=<KeyValue>
2324
```
2425

25-
The connection string for an event hub has an additional component in it. That's, `EntityPath=<EventHubName>`.
26+
The connection string for an event hub has an extra component in it, i.e, `EntityPath=<EventHubName>`.
2627

2728
```bash
2829
Endpoint=sb://<NamespaceName>.servicebus.windows.net/;SharedAccessKeyName=<KeyName>;SharedAccessKey=<KeyValue>;EntityPath=<EventHubName>
@@ -35,7 +36,7 @@ This article shows you how to get a connection string to a namespace or a specif
3536
### Connection string for a namespace
3637

3738
1. Sign in to [Azure portal](https://portal.azure.com).
38-
2. Select **All services** on the left navigational menu.
39+
2. Select **All services** in the left navigational menu.
3940
3. Select **Event Hubs** in the **Analytics** section.
4041
4. In the list of event hubs, select your event hub.
4142
6. On the **Event Hubs namespace** page, select **Shared Access Policies** on the left menu under **Settings**.
20.5 KB
Loading
20.7 KB
Loading

0 commit comments

Comments
 (0)