Share via

About App Service Local Git

Noriko 251 Reputation points
2022-07-23T04:59:42.1+00:00

I'm planning to use local Git with App Service. Is it possible to deploy using key authentication?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Answer accepted by question author

SnehaAgrawal-MSFT 22,721 Reputation points Moderator
2022-07-28T08:30:46.017+00:00

Thanks for reaching here! If I have understood right you want to deploy from local git with SSH key instead of ID/PW authentication, If so below is the explanation.

As SSH URL for kudu repository (https://<sitename>.scm.azurewebsites.net:443/<sitename>.git) should be needed to achieve that however Kudu support local git deployment with a SSH key is not currently.

-Local git service is SCM which only https (not SSH protocol).
-SCM authentication only support basic and AAD – not SSH-RSA (or alike) key-pair.

For GitHub/Bitbucket/GitLab you can set up an SSH 'deploy key'
See: https://github.com/projectkudu/kudu/wiki/Continuous-deployment#for-private-repos-set-up-a-deploy-key

Also the best way to share your feedback would be to create a Feedback Item and upvote it. The product group monitors this site for feedback, this is the best way to ensure you are heard and you may receive a response depending on how much information they currently share.

Please let us know if you have any further query or issue remains.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.