Due to the flakyness of Linux keyrings, saml2aws may get deadlocked. To get around this issue, saml2aws can be run in a Docker container. This Gist contains a Dockerfile and a helper script to use as drop-in replacement for saml2aws.
-
Clone this Gist: https://gist.github.com/b5f76044eba1855b4222111b12a76dab.git
-
Make the
saml2aws.sh
script executable:$ chmod +x /path/to/the/cloned/gist/saml2aws.sh
-
Link the
saml2aws.sh
script to somewhere in your path. E.g.:$ ln -s /path/to/the/cloned/gist/saml2aws.sh ~/.local/bin/saml2aws
You should now be able to run saml2aws. The container will be automatically built, if it hasn't been built already.
$ saml2aws --help