Configuring the access permissions

To access Service Bus resources from other services, such as Functions or Logic Apps, we need to set up access permissions. In Service Bus, access permissions are configured using shared access policies. Shared access policies allow us to define the access rights for the entire Service Bus namespace, or separately for each service. After the access policy is configured, it generates a key-based connection string that will be used for the access.

By default, Service Bus will create a new RootManageSharedAccessKey policy which has management permissions over the entire namespace. We could continue using this policy, however, for security purposes, it is important to define the access policies with the least ...

Get Serverless computing in Azure with .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.