I am trying to download the Azure API Management Repository locally using Git Bash following he steps on this page: https://learn.microsoft.com/en-us/azure/api-management/api-management-configuration-repository-git.
The problem is that I keep getting the "Authentication failed" even though I have doubled checked the generated password multiple times.
Steps I did to download the REPO:
- Saved the service config to the git repo.
- Got the access credentials.
- Tried to clone the repo locally first by using the unencode password and after that using the encoded one. (encoded it in terminal using echo "myPass" | base64 )
I did this multiple times by generating multiple passwords, same result: authentication failed
git clone https://user:[email protected]
Are there any user rights that I am supposed to have in order to do this successfully?
The only way I managed to make it work was by only providing the username to the git clone command:
Once I did that, a login pop up appeared and I was able to insert my password unencoded, managing to clone it.
So from my point of view it might be a documentation error since adding the encoded password did not work. I have to mention that I encoded the password because the git bash stated that some of the passwords characters were not allowed in there