saml2aws
« Back to VersTracker
Description:
Login and retrieve AWS temporary credentials using a SAML IDP
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: aws saml sso authentication cli security
Install: brew install saml2aws
About:
Saml2aws is a command-line tool that enables users to authenticate against a SAML Identity Provider (IDP) to assume an AWS IAM role and retrieve temporary credentials. It automates the complex process of federated login, making it ideal for programmatic access and integration with AWS CLI tools. The tool simplifies secure access to AWS resources without needing to manually handle cookies or browser sessions.
Key Features:
  • Supports multiple SAML providers (ADFS, Okta, OneLogin, Ping, etc.)
  • Generates temporary AWS credentials for CLI and SDK usage
  • Can assume specific IAM roles across different AWS accounts
  • Integrates with standard AWS credential files and processes
Use Cases:
  • Automating AWS CLI authentication in CI/CD pipelines
  • Developers needing quick, secure access to multiple AWS accounts via SSO
  • Scripting AWS resource management with federated identity
Alternatives:
  • aws-azure-login – Specifically for Azure AD SSO, while saml2aws supports a broader range of SAML IDPs.
  • okta-awscli – Okta-specific tool, whereas saml2aws offers multi-provider support.
Version History
Detected Version Rev Change Commit
Sep 13, 2025 10:32am 0 VERSION_BUMP bc772532
Dec 4, 2024 5:51am 0 VERSION_BUMP d4911a34
Dec 4, 2024 12:37am 0 VERSION_BUMP db743939
Jul 21, 2024 12:45pm 0 VERSION_BUMP c8c3126a
Sep 20, 2023 5:56am 0 VERSION_BUMP b510987b
May 15, 2023 8:39am 0 VERSION_BUMP 22b38ed2
May 15, 2023 8:12am 0 VERSION_BUMP 7b699ec9
May 11, 2023 5:24am 0 VERSION_BUMP a9c81934
May 6, 2023 12:58pm 0 VERSION_BUMP 6350787f
Mar 29, 2023 1:20am 0 VERSION_BUMP c7926895