Skip to content

Not switching Profile #72

Open
Open
@chuan29812

Description

@chuan29812

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions