arcus-azure / arcus.eventgrid

Azure Event Grid development in a breeze
https://eventgrid.arcus-azure.net/
MIT License
17 stars 6 forks source link

Add Azure Event Grid publisher builder option to authenticate with Managed Identity #190

Closed stijnmoreels closed 1 year ago

stijnmoreels commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, we only support client secret authentication when building an Azure Event Grid publisher (via the EventGridPublisherBuilder). This is a rather narrow way to provide Event Grid publishers.

Describe the solution you'd like We should invest in providing a way to include Managed Identity in the authentication options of the builder. We should update the authentication (guided) interface so that only then the managed identity authentication is showing.

Describe alternatives you've considered None.

Additional context First mentioned in: https://github.com/arcus-azure/arcus.backgroundjobs/issues/81

stijnmoreels commented 2 years ago

We could consider waiting till we move t the new Azure SDK so we can make use of the Managed Identity Credential, instead of figuring out how this is done with HTTP headers and the like.