Generate a signed AWS V4 CodeCommit URL without the need for dedicated IAM user credentials.
Binary downloads can be found on the Releases page. Unpack the codecommit-sign
binary and add it to your PATH.
To use Homebrew:
brew tap gembaadvantage/tap
brew install codecommit-sign
To use Scoop:
scoop install codecommit-sign
To install using the yum package manager:
echo '[codecommit-sign]
name=uplift
baseurl=https://yum.fury.io/ga-paul-t/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/codecommit-sign.repo
sudo yum install -y codecommit-sign
echo 'deb [trusted=yes] https://apt.fury.io/ga-paul-t/ /' | sudo tee /etc/apt/sources.list.d/codecommit-sign.list
sudo apt update
sudo apt install -y codecommit-sign
To install from the aur using yay:
yay -S codecommit-sign-bin
Download and manually install one of the .deb, .rpm or .apk packages from the Releases page.
sudo apt install codecommit-sign_*.deb
sudo yum localinstall codecommit-sign-*.rpm
sudo apk add --no-cache --allow-untrusted codecommit-sign_*.apk
To install using a shell script:
curl https://raw.githubusercontent.com/gembaadvantage/codecommit-sign/main/scripts/install > install
chmod 700 install
./install
Retrieve (or construct) the clone URL to your chosen CodeCommit repository and then sign it. Depending on your chosen authentication mechanism, you may need to provide an AWS named profile through the optional --profile
flag.
codecommit-sign https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/repository
codecommit-sign codecommit::eu-west-1://repository
All GRC variants are supported:
codecommit://repository
codecommit://profile@repository
codecommit::region://profile@repository