macOS
brew install saml2awslocal Homebrew formula metadata
sudo port install saml2awsMacPorts ports tree · security/saml2aws/Portfile · source: api.github.com
brew / rank 1471
Login and retrieve AWS temporary credentials using a SAML IDP. Version 2.36.19 via Homebrew; verified 2026-09-15. Also installable with nix: nix profile install nixpkgs#saml2aws.
install
brew install saml2awslocal Homebrew formula metadata
sudo port install saml2awsMacPorts ports tree · security/saml2aws/Portfile · source: api.github.com
nix profile install nixpkgs#saml2awsnixpkgs package indexes · pkgs/by-name/sa/saml2aws/package.nix · source: api.github.com
choco install saml2awsChocolatey community package catalog · saml2aws · source: community.chocolatey.org
scoop install main/saml2awsScoop official bucket manifest trees · bucket/saml2aws.json · source: api.github.com
winget install --id Versent.saml2aws -eWindows Package Manager source index · Versent.saml2aws · source: cdn.winget.microsoft.com
overview
Login and retrieve AWS temporary credentials using a SAML IDP
history
saml2aws is a cross-platform CLI that signs in through a SAML identity provider and obtains temporary AWS credentials for a selected role.
The project was developed by Versent to authenticate against a SAML identity provider, select an AWS role, request temporary STS credentials, and store or emit those credentials in forms understood by AWS tooling.
A 2017 version-2 refactor introduced the current `~/.saml2aws` account-oriented configuration model and reorganized provider implementations to support richer MFA and provider-specific settings.
saml2aws is packaged across Homebrew, MacPorts, Nix, Chocolatey, Scoop, and winget, reflecting use on both Unix-like developer machines and Windows corporate workstations.
Its continued 2.x release series and wide provider support established it as a common bridge for organizations whose AWS console access predates or sits outside newer AWS-native SSO tooling.
Users define one or more IdP accounts with `saml2aws configure`, then run `saml2aws login` to authenticate, choose a role, and write temporary credentials to an AWS profile.
The CLI can instead emit shell variables, run a child command with credentials, or act as an AWS `credential_process`. It supports multiple SAML providers, MFA methods, configurable credential files, and optional SAML assertion caching.
saml2aws turns an interactive enterprise SAML login into short-lived, profile-compatible AWS credentials. Package enthusiasts value it as glue between identity-provider workflows, the conventional AWS shared-credentials format, shells, SDKs, and automation tools.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.saml2awsCredential-bearing paths to review before unattended agent runs.
~/.aws/credentials~/.aws/config~/.aws/saml2aws/*executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
saml2aws | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Versent/saml2aws
install metadata
| Package key | brew:saml2aws |
|---|---|
| Version | 2.36.19 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/saml2aws |
| Homepage | https://github.com/Versent/saml2aws |
| Repository | https://github.com/Versent/saml2aws |
| License | MIT |
| Source archive | https://github.com/Versent/saml2aws/archive/refs/tags/v2.36.19.tar.gz |
| Last updated | 2026-09-15T05:47:16+02:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | saml2aws |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
saml2aws
nix profile install nixpkgs#saml2awssaml2aws
sudo port install saml2awssaml2aws
choco install saml2awsmain/saml2aws
scoop install main/saml2awsVersent.saml2aws
winget install --id Versent.saml2aws -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.