Azure / appservice-settings

Automate your GitHub workflows using Azure Action for AppService
MIT License
39 stars 18 forks source link

Support using a Publish Profile instead of Azure/login Service Principal #35

Open nosvalds opened 2 years ago

nosvalds commented 2 years ago

Enhancement Request

It would be nice if this Action supported using a Publish Profile, rather than the Azure/login and Service Principal method to authenticate.

Background

The documentation for Azure Functions recommends using a Publish Profile with the Azure/functions-action to deploy Azure Functions from GitHub Actions.

However, since you also probably want to set your Environment Variables for the Function through GitHub Actions, you must use this Action and a Service Principal to set the Environment Variables. So you probably will just end up using the Service Principal on the Function Action instead of the recommended Publish Profile. Otherwise you have to manage 2 secrets for authentication.

askpatrickw commented 2 years ago

Yes, please add this.

The guide for this action also results in this error:

Option '--sdk-auth' has been deprecated and will be removed in a future release.

panteparak commented 5 months ago

I want this enhancement too. Would simplify deployment consistency a lot and less of a pain to maintain two credentials

jinlow commented 4 months ago

Any updates on this?