| Crates.io | aws-sso-util |
| lib.rs | aws-sso-util |
| version | 0.1.1 |
| created_at | 2025-03-12 20:02:05.653734+00 |
| updated_at | 2025-03-18 20:59:38.712876+00 |
| description | A utility for AWS SSO |
| homepage | https://github.com/alxolr/aws-sso-util |
| repository | https://github.com/alxolr/aws-sso-util |
| max_upload_size | |
| id | 1590187 |
| size | 27,544 |
It's a simple utility to help you fast switch between AWS SSO profiles.
~/.aws/config file with the AWS SSO profiles.~/.aws/sso/cache after login with aws sso login command.~/.aws/config file.AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN;cargo install aws-sso-util
aws-sso-util --help
AWS SSO utility
USAGE:
aws-sso-util [FLAGS]
FLAGS:
-c, --console-ui Get aws console url for the selected profile
-e, --env Get the export env for aws credentials for the selected profile
-h, --help Prints help information
-p, --profile Fuzzy search for aws profiles
-V, --version Prints version information
Given you have the following ~/.aws/config file:
[profile first_profile]
sso_session = some_session_name
region = us-west-1
sso_account_id = 123456789012
sso_role_name = AdministratorAccess
output = json
[profile second_profile]
...
[profile fifth_profile]
aws-sso-util -p
Select profile: › s
third_profile
first_profile
fifth_profile
fourth_profile
❯ second_profile