https://github.com/jsynowiec/aws-sso-wrangler
A tiny tool for controlling many AWS SSO profiles
https://github.com/jsynowiec/aws-sso-wrangler
awscliv2 awssso python
Last synced: 8 months ago
JSON representation
A tiny tool for controlling many AWS SSO profiles
- Host: GitHub
- URL: https://github.com/jsynowiec/aws-sso-wrangler
- Owner: jsynowiec
- License: apache-2.0
- Created: 2023-02-10T11:36:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T11:41:35.000Z (over 2 years ago)
- Last Synced: 2025-01-02T16:15:03.656Z (10 months ago)
- Topics: awscliv2, awssso, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-sso-wrangler
[](https://github.com/jsynowiec/aws-sso-wrangler/blob/master/LICENSE)
A tiny tool for controlling many AWS SSO profiles. It'll help you to quickly sign using `aws sso` and write temporary credentials under a selected profile in `~/.aws/credentials`.
## Installation
First, instal the AWS CLI v2 and configure your SSO profiles. Then install this tool using `pipx`:
pipx install git+https://github.com/jsynowiec/aws-sso-wrangler
## Usage
```sh
$ aws-sso-wrangler
[?] Select AWS profile: CompanyA-ProfileA
> CompanyA-ProfileA
CompanyA-TeamB-ProfileA
CompanyA-TeamB-ProfileB[?] Write temp credentials to ~/.aws/credentials? (Y/n): Y
[?] Profile name: default
Attempting to automatically open the SSO authorization page in your default browser.Temporary credentials written to ~/.aws/credentials under [default] profile.
Credentials will expire at 2023-02-01T21:10:01Z
```