Skip to content
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

[Feature request] Access Iot Hub data with the appropriate RBAC role instead of the Connection String #446

Closed
TechWatching opened this issue Jun 16, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@TechWatching
Copy link

Is your feature request related to a problem? Please describe.
I cannot explore an IoT Hub (devices, twin, queries ...) without having the secret connection string of the IoT Hub. For security reasons this connection string is not something always available.

Describe the solution you'd like
I would like to be able to login to Iot hub Explorer with my azure account (supposing that my account already has the appropriate role) and access the IoT hubs my account has permission to explore without having to provide a connection string. This is what I am used to do with the azure storage explorer which is quite similar to the iot hub explorer tool.

Describe alternatives you've considered
I considrered using vs code extension for iot hub, but there is the same issue.

@TechWatching TechWatching added enhancement New feature or request needs review Review required by team member labels Jun 16, 2021
@rido-min rido-min added backlog and removed enhancement New feature or request needs review Review required by team member labels Jun 16, 2021
@rido-min
Copy link
Member

@TechWatching Thanks for the feedback, this feature is actually in our backlog and will be implemented soon.

@YingXue YingXue added the enhancement New feature or request label Jul 15, 2021
@YingXue
Copy link
Member

YingXue commented Sep 12, 2022

Authentication through AAD has been released in this version: https://github.com/Azure/azure-iot-explorer/releases/tag/v0.15.0
Please check it out.
Note that if you've disabled local auth, the app is not expected work. This is a task still on the backlog.

@TechWatching
Copy link
Author

@YingXue I have noticed a few problems :

  • when logged in, log out does not really log out (impossible to sign in with another user, it automatically log in with the previous user connected)
  • impossible to connect with personal accounts (my personal account has a subscription I would like to use)
  • not all tenants / subscriptions are displayed

I succeeded to connect to an iot hub with a test account I created on my tenant but I think the problems I mentioned above should be corrected.

@rtheil-growlink
Copy link

I just installed latest, and when I log in I get no subscriptions even though I have access to multiple IoT hubs. Is there a specific permission one needs to have for this to work? I plan on having someone with more permissions try this out to see if it works.

I agree with @TechWatching that it's not possible to change login info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants