codecommit-sign

module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2022 License: MIT

README

codecommit-sign

Build status License MIT Go Report Card Go Version codecov

Generate a signed AWS V4 CodeCommit URL without the need for dedicated IAM user credentials.

Install

Binary downloads can be found on the Releases page. Unpack the codecommit-sign binary and add it to your PATH.

Homebrew

To use Homebrew:

brew tap gembaadvantage/tap
brew install codecommit-sign
Scoop

To use Scoop:

scoop install codecommit-sign
Script

To install using a shell script:

curl https://raw.githubusercontent.com/gembaadvantage/codecommit-sign/main/scripts/install > install
chmod 700 install
./install

Quick Start

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.

HTTPS
codecommit-sign https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/repository
GRC
codecommit-sign codecommit::eu-west-1://repository

All GRC variants are supported:

  • codecommit://repository
  • codecommit://profile@repository
  • codecommit::region://profile@repository

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL