Michael Tontchev
Michael Tontchev

Reputation: 1109

How to use managed identity to connect to Azure Notification Hub?

In the docs they give an example of how to connect to a hub by using a connection string that contains a Shared Access Signature. So far in my app, I've been able to avoid storing secrets myself by just using managed identities. Is there a way to connect to a Notification Hub with a managed identity instead of a secret? I'd rather not do my own secret management.

Upvotes: 0

Views: 568

Answers (2)

MarStr
MarStr

Reputation: 455

Authorization Rules (a.k.a. Access Policies) are associated with a hub and can be accessed using Azure Resource Manager calls, which I believe supports managed identity. I've thought about this but haven't tried it myself. So please report back if it works for you.

Upvotes: 0

SnehaAgrawal-MSFT
SnehaAgrawal-MSFT

Reputation: 237

Referring to list of supported Azure services that support managed identities for Azure resources it seems not available for it.

You may share your feedback by creating a Feedback item and upvote it. The product group monitors this site for feedback. This is the best way to ensure you are heard and you may receive a response depending on how much they information they can currently share.

Upvotes: 1

Related Questions