-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AAD login #607
Comments
@ChoOo7, that's something that's on the roadmap. However, currently 95% of the code Service Bus Explorer is using to communicate with queues and topics is using the oldest Service Bus SDK. The remaining 5% is using the latest Service Bus SDK. For several reasons we want to migrate everything to the latest SDK and that has a higher priority for me. However, you or anyone else is most welcome to come up with a design suggestion for AAD login. I recommend starting with that before creating a PR since this a complicated issue. |
I think the easiest solution is to use public ServiceBusClient(string fullyQualifiedNamespace, TokenCredential credential); |
|
I really want this feature so we can stop using access keys! |
Azure AD auth will be a huge win for this tool! There is some very valuable functionality such as fix/resubmit from dead letter queue which are not available in the portal. However the only way for a team to use this is they all have to have connection string with the keys which is not secure. |
Is there any update on this? I can see two ways of integrating this:
Then provide a factory for creating a ServiceBusClient and ServiceBusAdministrationClient that can interpret the connection string and constructs the client with InteractiveBrowserCredentials. Use the factory instead of constructing the clients directly. This solution is not as elegant as the first, but I think it should be very simple to implement, as no ui changes are needed and the code only needs to be changed in a handful of places. |
This would be a great benefit so that we can leverage the RBAC that we have set up on our ASB resources. Is there any update on projected release? |
This would be great to have as we move over to RBAC model for service bus. |
Azure AD login would be very usefull, please let us have the option to move away from connection strings with secret keys. |
would be great to have this supported |
Would also really like to have AD auth for this 🙏 |
Would be incredibly useful to have this implemented. |
I would say this is an essential feature as our company moves to disable local authentication (SAS key). |
Hello, |
Pretty much stopped using Service Bus Explorer since Managed Identity is best practice for accessing Service Bus. Would love to still use it, but without Managed Identity support it’s not possible. |
Hi @ErikMogensen! What is your estimated level of effort for someone who hasn't been developing in the code base? If it's possible now (I believe you've migrated from the old SDK?) then I wouldn't mind taking a stab at this. But it would of course depend on the complexity of the issue... |
@jooooel, unfortunately, the code hasn’t been migrated yet. |
Also looking forward to be able to use managed identities. Many companies now move away from the sas tokens and only allow managed identity, thus removing the possibility to servicebus explorer. |
@Merlijnv, everything that Erik said.
`ServiceBusHelper2 is just a helper. Don't worry about it too much. If needs to go, it can be removed as well. Regarding EventGrid PR - I'm looking after that one. We don't need to worry about it until it's merged into |
Are you implying there's a plan to rewrite ServiceBusExplorer with Avalonia UI or Uno Platform? Because cross platform WinForms is definitely not happening. Edit: Nevermind, I skimmed over this issue a bit too fast. There's already an issue dedicated to cross platform support: #286 |
@SeanFeldman Do you maybe have some time maybe next monday at 10am (that's 18.00 my time)? I need some quick walkthrough as to which code will be hit first and how everything gets called. |
@paolosalvatori so far it seems like getting queue message counts is missing or I can't find it. QueueDescription has been replaced with QueueProperties but that does not include MessageCountDetails. Update: Nevermind QueueRuntimeProperties does include the message counts |
Sorry, can't make it in the AM hours. You might have more luck with @paolosalvatori or @ErikMogensen as they are in EU time zones. Queue-related forms and controls might be the simplest path. Topics/subscriptions are a duplication. Something to be aware of, BTW. |
@SeanFeldman @paolosalvatori @ErikMogensen is the retry helper still needed when using servicebusadministrationclient? |
@Merlijnv, I suggest you open a PR (even if it's only at a starting point) and have this kind of Q&A on the PR rather than the issue. The issue is more suited to the problem description, status updates, and information not directly implemented. PR is more suited for the discussions and decision-making related to the changes in that PR. Would you agree? |
Any update on this? Entra/AAD support would make this tooling very ideal over having to use less secure SAS tokens. |
Nope currently busy with other more important things so this is on a hold for me but feel free to continue the work. |
Hello
Can we have an Azure Active directory login to have access to our services bus ?
We don't want to have any password / keys on our computers
Thanks
The text was updated successfully, but these errors were encountered: