Skip to content

Commit

Permalink
Use credential helper for CodeCommit
Browse files Browse the repository at this point in the history
  • Loading branch information
iainelder committed Jul 12, 2024
1 parent 6813e5a commit a5cd6f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
helper =
helper = !az account get-access-token --query accessToken --output tsv | xargs printf 'password=%s\n'
[credential "https://git-codecommit.eu-west-1.amazonaws.com"]
provider = generic
helper = !aws codecommit credential-helper $@
UseHttpPath = true
[credential "https://git-codecommit.eu-central-1.amazonaws.com"]
helper = !aws codecommit credential-helper $@
UseHttpPath = true
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
Expand Down

0 comments on commit a5cd6f4

Please sign in to comment.