I'm trying to deploy an Azure app from a script. Azure has been set up for external git repository deployment. I've set the deploy key (Azure's SSH public key) into Gitlab
The following works
curl -X POST
-H "Content-type: application/json"
-d "{'format':'basic', 'url':'https://GITLABUSER:[email protected]/MYTEAM/MYGIT.git'}"
-u "AZUREUSERNAME:AZUREPASSWORD"
https://MYSITE.scm.azurewebsites.net/deploy
is there a way to not specify the Gitlab user and password in the request since Azure already knows the address of the Git to pull from ?