Azure / Azure/azure-functions-host

Renewing Durable Functions Host Key in Portal results in two keys

Open
#4,893 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

For an Azure Functions app with the Durable Functions extension installed, I went to the Manage tab in the portal for a function and clicked the "Renew" icon to renew the `durabletask_extension` key. This resulted in **two** host keys with the name `durabletask_extension`, and the new one is not valid for calling the Durable Functions API, and the original one still works.

![image](https://user-images.githubusercontent.com/147668/64352040-3e419a00-cff3-11e9-986e-61b9010693c3.png)

I've reproduced this on two separate Function Apps

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue from the Azure portal Manage tab using the Renew icon for the durabletask_extension host key. Trace the host-key renewal path and verify that renewal does not leave duplicate keys, that the replacement key works for the Durable Functions API, and that the expected old-key behavior is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.