You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-hubs/event-hubs-managed-service-identity.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.service: event-hubs
10
10
ms.devlang: na
11
11
ms.topic: article
12
12
ms.custom: seodec18
13
-
ms.date: 12/06/2018
13
+
ms.date: 05/20/2019
14
14
ms.author: shvija
15
15
16
16
---
@@ -24,8 +24,28 @@ With managed identities, the Azure platform manages this runtime identity. You d
24
24
Once it is associated with a managed identity, an Event Hubs client can do all authorized operations. Authorization is granted by associating a managed identity with Event Hubs roles.
25
25
26
26
## Event Hubs roles and permissions
27
+
You can add a managed identity to the **Event Hubs Data Owner** role of an Event Hubs namespace. This role grants the identity, full control (for management and data operations) on all entities in the namespace.
27
28
28
-
You can only add a managed identity to the "Owner" or "Contributor" roles of an Event Hubs namespace, which grants the identity full control on all entities in the namespace. However, management operations that change the namespace topology are initially supported only though Azure Resource Manager. It's not through the native Event Hubs REST management interface. This support also means that you cannot use the .NET Framework client [NamespaceManager](/dotnet/api/microsoft.servicebus.namespacemanager) object within a managed identity.
29
+
>[!IMPORTANT]
30
+
> We earlier supported adding managed identity to the **Owner** or **Contributor** role. However, data access privileges for **Owner** and **Contributor** role are no longer honored. If you are using the **Owner** or **Contributor** role, switch to using the **Event Hubs Data Owner** role.
31
+
32
+
To use the new built-in role, follow these steps:
33
+
34
+
1. Navigate to the [Azure portal](https://portal.azure.com)
35
+
2. Navigate to the Event Hubs namespace.
36
+
3. On the **Event Hubs Namespace** page, select **Access Control(IAM)** from the left menu.
37
+
4. On the **Access Control (IAM)** page, select **Add** in the **Add a role assignment** section.
38
+
39
+

40
+
5. On the **Add role assignment** page, do the following steps:
41
+
1. For **Role**, select **Azure Event Hubs Data Owner**.
42
+
2. Select the **identity** to be added to the role.
43
+
3. Select **Save**.
44
+
45
+

46
+
6. Switch to the **Role assignments** page and confirm that the user is added to the **Azure Event Hubs Data Owner** role.
47
+
48
+

29
49
30
50
## Use Event Hubs with managed identities for Azure Resources
Copy file name to clipboardExpand all lines: articles/event-hubs/event-hubs-role-based-access-control.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.service: event-hubs
10
10
ms.devlang: na
11
11
ms.topic: article
12
12
ms.custom: seodec18
13
-
ms.date: 12/06/2018
13
+
ms.date: 05/21/2019
14
14
ms.author: shvija
15
15
16
16
---
@@ -24,8 +24,13 @@ For Azure Event Hubs, the management of namespaces and all related resources thr
24
24
An application that uses Azure AD RBAC does not need to handle SAS rules and keys or any other access tokens specific to Event Hubs. The client app interacts with Azure AD to establish an authentication context, and acquires an access token for Event Hubs. With domain user accounts that require interactive login, the application never handles any credentials directly.
25
25
26
26
## Event Hubs roles and permissions
27
+
Azure provides the following built-in RBAC roles for authorizing access to an Event Hubs namespace:
28
+
29
+
The [Event Hubs Data Owner (Preview)](../role-based-access-control/built-in-roles.md#service-bus-data-owner) role enables data access to an Event Hubs namespace and its entities (queues, topics, subscriptions, and filters)
30
+
31
+
>[!IMPORTANT]
32
+
> We earlier supported adding managed identity to the **Owner** or **Contributor** role. However, data access privileges for **Owner** and **Contributor** role are no longer honored. If you are using the **Owner** or **Contributor** role, switch to using the **Event Hubs Data Owner** role.
27
33
28
-
For the initial public preview, you can only add Azure AD accounts and service principals to the "Owner" or "Contributor" roles of an Event Hubs namespace. This operation grants the identity full control over all entities in the namespace. Management operations that change the namespace topology are initially only supported though Azure resource management and not through the native Event Hubs REST management interface. This support also means that the .NET Framework client [NamespaceManager](/dotnet/api/microsoft.servicebus.namespacemanager) object cannot be used with an Azure AD account.
29
34
30
35
## Use Event Hubs with an Azure AD domain user account
Copy file name to clipboardExpand all lines: articles/role-based-access-control/built-in-roles.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ The following table provides a brief description of each built-in role. Click th
84
84
|[DevTest Labs User](#devtest-labs-user)| Lets you connect, start, restart, and shutdown your virtual machines in your Azure DevTest Labs. |
85
85
|[DNS Zone Contributor](#dns-zone-contributor)| Lets you manage DNS zones and record sets in Azure DNS, but does not let you control who has access to them. |
86
86
|[DocumentDB Account Contributor](#documentdb-account-contributor)| Can manage Azure Cosmos DB accounts. Azure Cosmos DB is formerly known as DocumentDB. |
87
+
|[Event Hubs Data Owner](#event-hubs-data-owner)| Allows full access to Azure Event Hubs resources |
0 commit comments