Skip to content

Commit 63436f7

Browse files
committed
Event Hubs RBAC
1 parent b0698a0 commit 63436f7

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

articles/event-hubs/event-hubs-managed-service-identity.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,30 @@ You can only add a managed identity to the "Owner" or "Contributor" roles of an
2929

3030

3131
## Event Hubs roles and permissions
32-
33-
You can add a managed identity to the "Service Bus Data Owner" role of a Service Bus namespace. It grants the identity, full control (for management and data operations) on all entities in the namespace.
32+
You can add a managed identity to the **Event Hubs Data Owner** role of an Event Hubs namespace. It grants the identity, full control (for management and data operations) on all entities in the namespace.
3433

3534
>[!IMPORTANT]
36-
> We earlier supported adding managed identity to the **"Owner"** or **"Contributor"** role.
35+
> We earlier supported adding managed identity to the **Owner** or **Contributor** role.
3736
>
38-
> However, data access privileges for **"Owner"** and **"Contributor"** role will no longer be honored. If you were using the **"Owner"** or **"Contributor"** role, then those will need to be adapted to utilize the **"Service Bus Data Owner"** role.
37+
> 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.
3938
40-
To use the new built-in role, please complete the below steps -
39+
To use the new built-in role, follow these steps:
4140

42-
1. proceed to the [Azure portal](https://portal.azure.com)
43-
2. Navigate to the Service Bus namespace where you have currently setup the "Owner" or "Contributor" role.
44-
3. Click on "Access Control(IAM)" from the left pane menu.
45-
4. Proceed to add a new role assignment as below
41+
1. Navigate to the [Azure portal](https://portal.azure.com)
42+
2. Navigate to the Event Hubs namespace where you have currently setup the **Owner** or **Contributor** role.
43+
3. Select **Access Control(IAM)** from the left menu.
44+
4. On the **Access Control (IAM)** page, select **Add** in the **Add a role assignment** section.
4645

47-
![Service Bus RBAC Data Owner](./media/service-bus-role-based-access-control/ServiceBus_RBAC_SBDataOwner.png)
46+
![Add a role assignment button](./media/event-hubs-managed-service-identity/add-role-assignment-button.png)
47+
5. On the **Add role assignment** page, do the following steps:
48+
1. For **Role**, select **Azure Eevent Hubs Data Owner**.
49+
2. Select the **identity** to be added to the role.
50+
3. Select **Save**.
4851

49-
5. Hit "Save" to save the new role assignment.
52+
![Event Hubs Data Owner role](./media/event-hubs-managed-service-identity/add-role-assignment-dialog.png)
53+
6. Switch to the **Role assignments** page and confirm that the user is added to the **Azure Event Hubs Data Owner** role.
5054

55+
![Confirm user is added to the role](./media/event-hubs-managed-service-identity/role-assignments.png)
5156

5257
## Use Event Hubs with managed identities for Azure Resources
5358

articles/event-hubs/event-hubs-role-based-access-control.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,15 @@ For Azure Event Hubs, the management of namespaces and all related resources thr
2424
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.
2525

2626
## Event Hubs roles and permissions
27+
Azure provides the following built-in RBAC roles for authorizing access to an Event Hubs namespace:
28+
29+
* [Event Hubs Data Owner (preview)](../role-based-access-control/built-in-roles.md#service-bus-data-owner): 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.
33+
>
34+
> 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.
2735
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.
2936

3037
## Use Event Hubs with an Azure AD domain user account
3138

97.4 KB
Loading
21.2 KB
Loading
50 KB
Loading

0 commit comments

Comments
 (0)