Reputation: 81
I have an azure function. And I want to make it secure using Authorization Level.function i.e using x-function-key. I have an azure sdk for local development. What should happen when securing azure function? How it will provide security and against what? I am using ASP.NET.
Any help is appreciated!
Upvotes: 2
Views: 3936
Reputation: 2088
Functions lets you use keys to make it harder to access your HTTP function endpoints during development.
To secure an endpoint in production you need to use authentication + Authorization using the options:
details in this article: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook?tabs=csharp#secure-an-http-endpoint-in-production
Upvotes: 3