question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE REQ] Function App key management

See original GitHub issue

Library 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:open
  • Created 6 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JDECOMBEcommented, Mar 15, 2023

Looking more into the code, it seems that the WebAppsRestOperations.CreateOrUpdateHostSecretAsync method 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 the Azure/azure-rest-api-specs repository) I opened a PR #34936 to fix this issue.

0reactions
live1206commented, Jun 28, 2023

Thanks to @mathewc, the next version of WebApps.json will be fixed.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found