[FEATURE REQ] Function App key management
See original GitHub issueLibrary name
Azure.ResourceManager.AppService
Please describe the feature.
Hi,
Would it be possible to be able to Create/Set/Delete Function App keys ? For now only listing is available but the Azure CLI is able to modify those properties (az functionapp function keys).
I haven’t found any route that would expose this logic in the Rest API so I’m guessing it’s not just the client part of the SDK that needs to be implemented.
Issue Analytics
- State:
- Created 6 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Securing Azure Functions
This article provides security strategies for running your function code, and how App Service can help you secure your functions. The platform ...
Read more >Key management API · Azure/azure-functions-host Wiki
The Functions Runtime exposes a management API that enables consumers to programmatically add, delete, and update function keys.
Read more >Azure Functions Tips: where are our Function App keys?
Azure portal gives you the capability to manage both function-specific keys and master keys: The Azure portal admin keys management.
Read more >API Management and Azure Function App - Host Key ...
The function app has a Host Key, which is stored in the Named Values of our API Management instance. Each time we pass...
Read more >10 ways to gain control over Azure function app sites
3. Lists the Master key of that function app site: URL: https://management.azure.com/subscriptions/<SUBSCRIPTION ID>/providers/Microsoft.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Looking more into the code, it seems that the
WebAppsRestOperations.CreateOrUpdateHostSecretAsyncmethod does exactly that. Unfortunately, this method is broken right now. I’ve found this issue where a similar issue was discussed (and fixed if you look into the PR linked in the comment) for the Go SDK. (Link goes to theAzure/azure-rest-api-specsrepository) I opened a PR #34936 to fix this issue.Thanks to @mathewc, the next version of WebApps.json will be fixed.