Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . codecommit . credential-helper ]



get a username SigV4 credential pair based on protocol, host and path provided from standard in. This is primarily called by git to generate credentials to authenticate against AWS CodeCommit

See 'aws help' for descriptions of global parameters.


aws codecommit credential-helper get


--ignore-host-check (boolean) Optional. Generate credentials regardless of whether the domain is an Amazon domain.

See 'aws help' for descriptions of global parameters.


echo -e "protocol=https\npath=/v1/repos/myrepo\" | aws codecommit credential-helper get