dapr / dapr/components-contrib
Enable standard AAD authentication for Azure EventGrid binding component, specifically on the output binding (create)
- Dominant language
- Go
- Stars
- 602
- Forks
- 580
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
## Describe the feature
Currently, it appears that the Azure EventGrid output binding supports authentication with AccessKey only. It is preferable to enable all of the standard AAD authentication methods described in https://docs.dapr.io/developing-applications/integrations/azure/azure-authentication/authenticating-azure/.
Current Work-Around:
1. Configure an Azure Key Vault secrets component using the AAD authentication method of choice (preferably a managed identity).
2. Add a KV secret containing the EventGrid access key.
3. Configure the EventGrid binding component with accessKey using a secretKeyRef to retrieve the value via the KV secrets component.
## Release Note
RELEASE NOTE:
Contributor guide
Research direction
Start with the Azure authentication documentation linked in the issue, then locate the Azure EventGrid output binding's create path and its existing AccessKey configuration. Done means the binding supports the standard AAD authentication methods described there for output creation, with behavior verified against the project's existing component tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100