AWS SSO login with Assume role profile
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
Automatically pull SSO login details from source_profile while running
`aws sso login` command with assume role profile
assuming role setting up an assume-role profile with
**example config File**
`
[profile 12345678901-sso-LoginProfile]
sso_start_url = https://example.awsapps.com/start
sso_region = us-east-1
sso_account_id = 12345678901
sso_role_name = AdministratorAccess
region = eu-central-1
output = json
[profile 12345678901-sso-assumeRoledProfile]
role_arn = arn:aws:iam::12345678901:role/exampleRole
region = us-east-1
source_profile = 12345678901-sso-LoginProfile
`
**Terminal**
```
export AWS_PROFILE=12345678901-sso-assumeRoledProfile
aws sso login
```
Contributor guide
Assessment
This issue has not been assessed yet.