I am trying to clone a aws codecommit repository but I'm getting Unable to access: 403 error.
I am using credential helper for connecting to codecommit.
This is my .gitconfig file.
[credential]
helper = !aws --profile
codecommitprofile codecommit
credential-helper $@
UseHttpPath = true
I have configured the aws profile using access key Id and secret access key. Also I cleared all the git credentials before accessing the repository, but still getting the same error everytime.
Any help will be appreciated.