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/authenticate-shared-access-signature.md
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,6 +212,66 @@ For example, to define authorization rules scoped down to only sending/publishin
212
212
## Authenticating Event Hubs consumers with SAS
213
213
To authenticate back-end applications that consume from the data generated by Event Hubs producers, Event Hubs token authentication requires its clients to either have the **manage** rights or the **listen** privileges assigned to its Event Hubs namespace or event hub instance or topic. Data is consumed from Event Hubs using consumer groups. While SAS policy gives you granular scope, this scope is defined only at the entity level and not at the consumer level. It means that the privileges defined at the namespace level or the event hub instance or topic level will be applied to the consumer groups of that entity.
214
214
215
+
## Disabling Local/SAS Key authentication
216
+
For certain organizational security requirements, you may have to disable local/SAS key authentication completely and rely on the Azure Active Directory (Azure AD) based authentication which is the recommended way to connect with Azure Event Hubs. You can disable local/SAS key authentication at the Event Hubs namespace level using Azure portal or Azure Resource Manager template.
217
+
218
+
### Disabling Local/SAS Key authentication via the portal
219
+
You can disable local/SAS key authentication for a given Event Hubs namespace using the Azure portal.
220
+
221
+
As shown in the following image, in the namespace overview section, click on the *Local Authentication*.
222
+
223
+

224
+
225
+
And then select *Disabled* option and click *Ok* as shown below.
226
+

227
+
228
+
### Disabling Local/SAS Key authentication using a template
229
+
You can disable local authentication for a given Event Hubs namespace by setting `disableLocalAuth` property to `true` as shown in the following Azure Resource Manager template(ARM Template).
0 commit comments