Saml2aws
Use Saml2Aws CLI as an alternative to SAML to AWS STS Key Conversion.
Install on Mac.
<pre lang="bash">
brew install saml2aws
saml2aws --version
Configure. Provide information.
<pre lang="bash">
saml2aws configure
It will create a ~/.saml2aws config file. Set session to 8 hours.
<pre lang="bash">
aws_session_duration = 28800
Login.
<pre lang="bash">
saml2aws login
After authentication and/or MFA, your ~/.aws/credentials will be updated.