AWS Codecommit - fatal: unable to access : The requested URL returned error: 403

1 min read
For windows,
git config --global credential.helper '!aws codecommit credential-helper $@
git config --global credential.UseHttpPath true
First, generate HTTPS Git Credentials in the AWS Management Console and navigate to the IAM service.
Click Users from the left sidebar and select your IAM user.
Click on the Security credentials tab and scroll down to the section labeled HTTPS Git credentials for AWS CodeCommit.
Click on Generate credentials. Save the username and password provided.
Now once you clone on your command line, you will be asked for username and password. Provide these!
0
Subscribe to my newsletter
Read articles from Md Shahriyar Al Mustakim Mitul directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
