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