Use managed identities to access Service Bus from Azure Kubernetes Service

Ifiokobong Offiong 56 Reputation points
2023-05-08T15:39:58.7033333+00:00

Hi everyone, i would like to access Azure Service Bus from AKS using a user managed identity or any other managed identity instead of using the service bus connection string. Is this possible? If so how is it implemented thank you for your response

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
570 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,929 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,616 Reputation points Microsoft Employee
    2023-05-09T08:33:40.2433333+00:00

    @Ifiokobong Offiong Thank you for reaching out to Microsoft Q&A.

    Yes,you can access the service bus from your AKS cluster using the managed identities. You need to have any of the below permissions

    For more details you can refer to these documentation, and in the same documentation there is sample example in C# in Run the app section in which we are accessing service bus from Azure app service.

    Feel free to reach back to me if you have any further questions on this.

    1 person found this answer helpful.