Azure / azure-libraries-for-net

Azure libraries for .Net
MIT License
377 stars 190 forks source link

[FEATURE REQ] FunctionApp key management #1337

Closed JDECOMBE closed 1 year ago

JDECOMBE commented 1 year ago

Hi,

Is your feature request related to a problem? Please describe. Yes. I'd like to be able to work with the master keys and the system keys of a FunctionApp in C#.

Describe the solution you'd like A set of methods exposed via the IFunctionApp interface to set / create or delete master and system keys. Such methods exist right now but this is limited to function keys (IFunctionApp.AddFunctionKeyAsync and IFunctionApp.RemoveFunctionKeyAsync ).

Additional context I'm guessing this is possible since Azure CLI expose this logic via the az functionapp keys set and az functionapp keys delete commands.

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

weidongxu-microsoft commented 1 year ago

This lib is deprecated. Please migrate https://aka.ms/azsdk/dotnet/mgmt

JDECOMBE commented 1 year ago

Oh.. Sorry about that, thanks for the information !