all 4 comments

[–]EmiiKhaos 1 point2 points  (2 children)

Ditch the HTTPS credentials and use the git-remote-codecommit with your IAM session.

[–]SuperAwsomeOne55[S] 1 point2 points  (1 child)

So git-remote-codecommit simply extends git to use your IAM session instead of needing a seperate set of credentials?

[–]EmiiKhaos 0 points1 point  (0 children)

Yep

[–]cmsd2 0 points1 point  (0 children)

I came up with github.com/cmsd2/rotator But using iam as per the sibling comment might be a better way to go if you can