I am trying to set saml2aws to provide temporary credentials for AWS services, specifically Codecommit.
I have managed to install AWS CLI and saml2aws and got the credentials. But when current credentials expired I have faced 403.
After a short dig, I discovered that the problem is osxkeychain
I set configurations as follow for --local
, --global
and --system
[credential]
UseHttpPath = true
helper = !aws --profile saml codecommit credential-helper $@
However, in my repository when I run
git config -l
The response reads as;
credential.helper=osxkeychain
credential.helper=!aws --profile saml codecommit credential-helper $@
credential.usehttppath=true
.
.
.
credential.helper=!aws --profile saml codecommit credential-helper $@
.
.
.
credential.usehttppath=true
credential.helper=!aws --profile saml codecommit credential-helper $@
The closest thing was disable git credential-osxkeychain but didn't help.
Any ideas?