alfred-aws-console-services-workflow icon indicating copy to clipboard operation
alfred-aws-console-services-workflow copied to clipboard

Not switching Profile

Open chuan29812 opened this issue 6 months ago • 0 comments

Hey there, i just started exploring this. I use SSO for my work, but i have a script that would populate both the credential with the most up-to-date info.

However, im not able to get the profile to switch

Heres what credential and config file

~/.aws/credential
[staging]
aws_access_key_id=ASIA3SSXYCOD7UEVK675
aws_secret_access_key=BaHMpKXc5D0ik868AR1e6rNpaQsZ0CX72S1SJNQ3
aws_session_token={token}

~/.aws/config
[sso-session fw_sso]
sso_start_url = https://myapp.awsapps.com/start
sso_region = us-east-1

[profile staging]
sso_session = my_sso
sso_account_id = 0154011874
sso_role_name = Engineer
region = us-east-1

As you can see i dont have a default set, so i use @ to set the overwrite image

This would open up the right service with the right region, but the account id always stay the same. I tried the debugging option in Alfred, but could not find anything useful

Any help would be appreciated, thanks

chuan29812 avatar Aug 04 '24 07:08 chuan29812