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

Azure Functions as output binding #1573

Closed
artursouza opened this issue Mar 14, 2022 · 8 comments
Closed

Azure Functions as output binding #1573

artursouza opened this issue Mar 14, 2022 · 8 comments

Comments

@artursouza
Copy link
Member

Describe the proposal

Create a new binding component that will trigger a function in Azure Functions

@yaron2
Copy link
Member

yaron2 commented Mar 14, 2022

Can't this be done with an HTTP binding?

@berndverst
Copy link
Member

Exactly. You'd just use the HTTP binding to call Azure Functions (can have a private API key as query string param).

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=in-process%2Cfunctionsv2&pivots=programming-language-csharp

I do not think this component is necessary.

Thoughts @artursouza ?

@artursouza
Copy link
Member Author

What about the different auth solutions for Azure? That would need a component to support those, right?

@artursouza
Copy link
Member Author

Also, could we enable the call without requiring a webhook if we use the Azure SDK?

@yaron2
Copy link
Member

yaron2 commented Mar 15, 2022

Also, could we enable the call without requiring a webhook if we use the Azure SDK?

You can't invoke functions using an SDK, the HTTP endpoint is the only way, and auth is defined on the endpoint.

@ItalyPaleAle
Copy link
Contributor

At this point, Azure Functions can only be invoked with a Webhook that (when not anonymous) uses auth via a shared secret. I don't believe there's support for AAD auth (unless that gets implemented as part of the Function code by the user).

However, that would be a good thing to ask the Functions team. There's certainly value in exploring stronger auth for Functions.

@berndverst
Copy link
Member

Closing this issue as there is nothing that can be implemented.

@ItalyPaleAle
Copy link
Contributor

@berndverst releated proposal: dapr/proposals#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants