Regarding Azure Service bus connection string hide or encryption

Yogesh Patel 1 Reputation point
2021-06-25T13:28:31.37+00:00

Hi,

I am working on Reactjs application with having backend in python and okta as an identity provider for our application. as we are trying to use azure bus service to communicate backend with frontend, but according to code sample and documentation, there is connection string which consist of sharedaccess key name and key value hard coded in url which we want to hide as it is a security issue for us, so is there any way to tackle this issue .

Thank You for help

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
700 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2021-06-29T14:22:08.483+00:00

    Service Bus supports Azure AD for authentication and authorization. But this will require your users to be on the same Azure AD tenant as your azure resources. Since you are using Okta, I believe this would be harder to implement.

    The better alternative would be to generate specific short lived SAS tokens via a protected service, which the UI will request and leverage.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.