saml2aws
brew install saml2aws
v2.36.19
MIT
Login and retrieve AWS temporary credentials using a SAML IDP
706
30-day installs · #1497
2.7k
90-day · #1410
10.8k
365-day · #1381
2.2k
★ GitHub stars · updated 9mo ago
Build dependencies
GitHub topics
adfs
aws
linux
macos
macosx
osx
saml
windows
Links
- https://github.com/Versent/saml2aws
- GitHub: Versent/saml2aws
- Brew formula source: Formula/s/saml2aws.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Login and retrieve AWS temporary credentials using a SAML IDP",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:30+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "saml2aws",
"github_default_branch": "master",
"github_last_commit_at": "2025-11-20T01:19:52Z",
"github_readme_excerpt": "# saml2aws\n\n[](https://github.com/Versent/saml2aws/actions?query=workflow%3AGo) [](https://ci.appveyor.com/project/davidobrien1985/saml2aws/branch/master)\n[](https://codecov.io/gh/Versent/saml2aws)\n\nCLI tool which enables you to login and retrieve [AWS](https://aws.amazon.com/) temporary credentials using\nwith [ADFS](https://msdn.microsoft.com/en-us/library/bb897402.aspx) or [PingFederate](https://www.pingidentity.com/en/products/pingfederate.html) Identity Providers.\n\nThis is based on python code from [\nHow to Implement a General Solution for Federated API/CLI Access Using SAML 2.0](https://blogs.aws.amazon.com/security/post/TxU0AVUS9J00FP/How-to-Implement-a-General-Solution-for-Federated-API-CLI-Access-Using-SAML-2-0).\n\nThe process goes something like this:\n\n* Setup an account alias, either using the default or given a name\n* Prompt user for credentials\n* Log in to Identity Provider using form based authentication\n* Build a SAML assertion containing AWS roles\n* Optionally cache the SAML assertion (the cache is not encrypted)\n* Exchange the role and SAML assertion with [AWS STS service](https://docs.aws.amazon.com/STS/latest/APIReference/Welcome.html) to get a temporary set of credentials\n* Save these credentials to an aws profile named \"saml\"\n\n## Table of Contents\n\n- [saml2aws](#saml2aws)\n - [Table of Contents](#table-of-contents)\n - [Requirements](#requirements)\n - [Caveats](#caveats)\n - [Install](#install)\n - [macOS](#macOS)\n - [Windows](#windows)\n - [Linux](#linux)\n - [Ubuntu](#ubuntu)\n - [Other](#other)\n - [Using Make](#using-make)\n - [Arch Linux and its derivatives](#arch-linux-and-its-derivatives)\n - [Void Linux](#void-linux)\n - [Autocom",
"github_repo": "Versent/saml2aws",
"github_stars": 2222,
"github_topics": [
"adfs",
"aws",
"linux",
"macos",
"macosx",
"osx",
"saml",
"windows"
],
"homepage": "https://github.com/Versent/saml2aws",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 706,
"installs_365d": 10829,
"installs_90d": 2719,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "saml2aws",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1497,
"rank_365d": 1381,
"rank_90d": 1410,
"raw_hash": "57385a2feeabc2e6",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/s/saml2aws.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.36.19",
"versioned_formulae": [],
"why_use_this": null
}