https://github.com/adamgoose/ssogen
A simple tool for generating an AWS CLI config for SSO-enabled accounts
https://github.com/adamgoose/ssogen
aws aws-cli sso
Last synced: about 2 months ago
JSON representation
A simple tool for generating an AWS CLI config for SSO-enabled accounts
- Host: GitHub
- URL: https://github.com/adamgoose/ssogen
- Owner: adamgoose
- Created: 2020-12-02T08:20:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-02T08:36:46.000Z (over 5 years ago)
- Last Synced: 2025-09-11T23:30:46.716Z (10 months ago)
- Topics: aws, aws-cli, sso
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ssogen
ssogen is a simple utility that produces a valid `~/.aws/config` file populated
with profiles for all available accounts and roles available to the
authenticated AWS SSO user. Just provie your SSO Start URL, no valid CLI session
necessary!
```bash
docker run --rm adamgoose/ssogen https://{myorg}.awsapps.com/start | tee ~/.aws/config.ssogen
```
You'll be prompted to open navigate to a URL, authenticate with AWS SSO, and
click the "Login to AWS CLI" button. Your config file will then be printed to
stdout.
For a full list of options, just ask for help.
```bash
docker run --rm adamgoose/ssogen --help
```