saml2aws

saml2aws 2.36.19

CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP

  • By Versent
  • Open Source
  • Updated Mar 13, 2025
Download for Windows

About saml2aws

CLI tool which enables you to login and retrieve AWS temporary credentials using with ADFS or PingFederate Identity Providers.
This is based on python code from How to Implement a General Solution for Federated API/CLI Access Using SAML 2.0.
The process goes something like this:
- Setup an account alias, either using the default or given a name
- Prompt user for credentials
- Log in to Identity Provider using form based authentication
- Build a SAML assertion containing AWS roles
- Optionally cache the SAML assertion (the cache is not encrypted)
- Exchange the role and SAML assertion with AWS STS service to get a temporary set of credentials
- Save these credentials to an aws profile named "saml"

What's new in 2.36.19

Changelog

  • 36983fb Merge pull request #1386 from rrotter/cache_path_fix
  • 958e9b1 Merge branch 'master' into cache_path_fix
  • 4f40aa6 Merge pull request #1383 from Versent/dependabot/go_modules/github.com/aws/aws-sdk-go-1.55.6
  • 516827c Merge pull request #1372 from rhiroe/fix/broken-links
  • 5a6008a Merge pull request #1368 from Versent/dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • 20fdb07 Merge branch 'master' into dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • abe05ff Merge pull request #1366 from Versent/dependabot/github_actions/codecov/codecov-action-5
  • 03e363c Merge branch 'master' into dependabot/github_actions/codecov/codecov-action-5
  • ea9e476 Merge pull request #1393 from fergusean/patch-1
  • d171298 Merge branch 'master' into patch-1
  • 80fa2d8 Merge pull request #1379 from Versent/dependabot/github_actions/softprops/action-gh-release-2.2.1
  • 676540b Merge branch 'master' into patch-1
  • f7e7f0c Merge branch 'master' into dependabot/github_actions/softprops/action-gh-release-2.2.1
  • d5f0dd4 Merge pull request #1401 from Versent/dependabot/go_modules/github.com/go-jose/go-jose/v3-3.0.4
  • 197ccea Merge branch 'master' into dependabot/go_modules/github.com/aws/aws-sdk-go-1.55.6
  • af0014f Merge pull request #1384 from rrotter/kingpin/v2
  • bb6382a Merge branch 'master' into dependabot/go_modules/github.com/aws/aws-sdk-go-1.55.6
  • 7adf2e0 Merge branch 'master' into dependabot/go_modules/github.com/go-jose/go-jose/v3-3.0.4
  • 4569824 Merge branch 'master' into kingpin/v2
  • c62710a Merge pull request #1399 from Versent/dependabot/go_modules/golang.org/x/crypto-0.31.0
  • 18be398 Merge branch 'master' into dependabot/go_modules/golang.org/x/crypto-0.31.0
  • 9e77596 Merge pull request #1389 from vtov-kr/upgrade-golangci-lint-in-makefile
  • 4dea112 Merge pull request #1396 from catalyst-ca/master
  • d3a3486 Merge pull request #1398 from nordicdyno/keycloak.v2-wrong-password
  • 1e51177 Merge branch 'master' into patch-1
  • c39039f Merge branch 'master' into keycloak.v2-wrong-password
  • e5c820e Merge pull request #1403 from tinaboyce/master
  • 4509e40 Merge branch 'master' into master
  • 302eaae chore(gha): macos to get artifact from correct macos version
  • 01a3cc2 chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4
  • 966f3a8 Merge branch 'master' into keycloak.v2-wrong-password
  • b64db7f Merge pull request #1400 from tinaboyce/master
  • f13ed11 chore(gha): bump macos runner to 13 …

Full release notes »

Technical details

PublisherVersent
AuthorVersent Pty Ltd
Version2.36.19
Release date2025-03-13
LicenseMIT
Installer typewix, zip
Architecturex64, arm, arm64
Package IDVersent.saml2aws

Install saml2aws from the command line

Install with Windows Package Manager
winget install --id=Versent.saml2aws -e
Update to the latest version
winget upgrade --id=Versent.saml2aws -e
Uninstall
winget uninstall --id=Versent.saml2aws -e
Silent install with the offline installer
msiexec /i "saml2aws_2.36.19_windows_amd64.msi" /quiet /norestart
Uninstall the MSI package
msiexec /x {5D33608C-E3F3-43A2-8FF5-5B2B209E0E7E} /quiet

saml2aws adds this command to the command line: saml2aws.

Silent install switches for more Windows programs »

Install saml2aws together with other apps in one command »

Frequently asked questions

Is saml2aws free?

Yes. saml2aws is free and open-source software released under the MIT license.

What is the latest version of saml2aws?

The latest version is 2.36.19, released on Mar 13, 2025.

Is it safe to download saml2aws?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with e78ec324f040047a36e6de3b61bff8de5b4f6d093f0f3070539a54121cb88b00.

Which Windows versions does saml2aws support?

saml2aws runs on Windows and is available for 64-bit (x64), ARM, ARM64 systems.

How do I install saml2aws silently?

Run the offline installer with msiexec /i "saml2aws_2.36.19_windows_amd64.msi" /quiet /norestart, or install it with Windows Package Manager: winget install --id=Versent.saml2aws -e --silent.

How do I uninstall saml2aws?

Open Settings › Apps › Installed apps, find saml2aws and select Uninstall. From the command line, run winget uninstall --id=Versent.saml2aws -e.