As of March 2023, aws-saml-session is deprecated, please use aws-saml-session-mfa instead.
Create temporary AWS credentials using SAML provider.
npm install -g aws-saml-session
Set the following environment variables:
- IDP_URL - Identity Provider login URL,
- IDP_USER - IDP username,
- IDP_PASS - IDP password,
- AWS_PROFILE -
aws-cli
profile name.
aws-saml-session