aws / aws/aws-cli

AWS SSO login with Assume role profile

Open
#6,183 2 comments 4 reactions 0 assignees View on GitHub
assume-role feature-request p2 sso
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.