You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question I wanted to ask before potentially filing an issue. I run the following command and get the output at the bottom.
assume \
--export \
--sso \
--sso-start-url https://start.home.awsapps.cn/directory/orgname \
--sso-region cn-north-1 \
--account-id 000000000000 \
--role-name SAMPLE \
--save-to china \
orgname/china-prod/SAMPLE
[✔] Saved AWS profile as china. You can use this profile with the AWS CLI using the '--profile' flags when running AWS commands.
[✔] [SAMPLE](cn-north-1) session credentials will expire in 12 hours
[!] No credential suffix found. This can cause issues with using exported credentials if conflicting profiles exist. Run `granted settings export-suffix set` to set one.
[✔] Exported credentials to ~/.aws/credentials file as SAMPLE successfully
So the --save-to china works as expected, and creates a china block in the ~/.aws/config file. But the --export then exports the credentials to the SAMPLE profile in ~/.aws/config. Should export in this case not also use the china profile name?
Using 0.23.1 of assume.
The text was updated successfully, but these errors were encountered:
Issue reported in Slack by Phil Hadviger
The text was updated successfully, but these errors were encountered: