assume sso1 will work just fine, but assume customer1 returns an error Profile 'customer1' is not configured properly.. This is because Granted is ignoring the source_profile fields with aws-azure-login.
Log output:
> assume --verbose sso1
[DEBUG] profile registry not configured. Skipping auto sync.
[DEBUG] process args execFlag: osargs:[assumego,--verbose,ans] c.args:[sso1]
[DEBUG] processed profile namesso1
[DEBUG] exec config:<nil>
[DEBUG] skipping profile with name sso1 - profile already defined in config
[DEBUG] skipping profile with name sso2 - profile already defined in config
Logging in with profile 'sso1'...
Using AWS SAML endpoint https://signin.aws.amazon.com/saml
Assuming role arn:aws:iam::123456789012:role/rolename
[✔] [sso1](eu-west-2) session credentials ready
> assume --verbose customer1
[DEBUG] profile registry not configured. Skipping auto sync.
[DEBUG] process args execFlag: osargs:[assumego,--verbose,mpc-main-prd] c.args:[customer1]
[DEBUG] processed profile namecustomer1
[DEBUG] exec config:<nil>
[DEBUG] skipping profile with name sso1 - profile already defined in config
[DEBUG] skipping profile with name sso2 - profile already defined in config
Profile 'customer1' is not configured properly.
Reported in our Community Slack.
To reproduce, set up profiles as follows:
assume sso1
will work just fine, butassume customer1
returns an errorProfile 'customer1' is not configured properly.
. This is because Granted is ignoring thesource_profile
fields with aws-azure-login.Log output: