Set Up the Credential Helper for Codecommit
- Install gitbash if using Windows OS or git if using Linux distro
- The credential helper uses the default AWS credential profile or the Amazon EC2 instance role. You can specify a profile to use, such as
CodeCommitProfile
, if you have created an AWS credential profile to use with CodeCommit: - Now run following commands to set it up
git config --global credential.helper '!aws codecommit credential-helper $@' git config --global credential.UseHttpPath true