saml2aws
saml2awsA command-line tool that converts SAML assertions into AWS credentials.
A command-line tool that converts SAML assertions into AWS credentials.
Log in to a SAML identity provider for temporary AWS credentials, or run a command with them. Provider-specific login flags (Okta, OneLogin, F5 APM) are left out.
saml2aws loginLogin to a SAML 2.0 IDP and convert the SAML assertion to an STS token.
idp_accountprofilerolesession_durationforceidp_accountprofileforceskip_promptstring--idp-account-astring--profile-pstring--roleinteger--session-durationboolean--forceboolean--skip-promptboolean--skip-verify-ssaml2aws execExec the supplied command with env vars from STS token.
profileexec_profilecommandstring--profile-pstring--exec-profilestring · positional 0 · repeatablesaml2aws consoleConsole will open the aws console after logging in.
profileforcelinkstring--profile-pboolean--forceboolean--linkhelphelp2026-10-27helphelp2026-10-27helphelp2026-10-27Before it fills your prompt, Otty checks the installed saml2aws against its version. A form that does not match your version is not offered.