aws-extend-switch-roles icon indicating copy to clipboard operation
aws-extend-switch-roles copied to clipboard

Documentation for AWS SSO Authentication

Open gw-bcharboneau opened this issue 3 years ago • 8 comments

Would it be possible to get documentation and examples of how to use this extension when using AWS SSO federated login?

gw-bcharboneau avatar Oct 07 '21 01:10 gw-bcharboneau

Basically, your configuration does not change depending on how you log in.

tilfin avatar Oct 07 '21 03:10 tilfin

@gw-bcharboneau - with SSO I have seen that in some cases using account_id as numerical would work outside SSO, but not with SSO login

[tlzdevorg] aws_account_id = ###########

vs

[tlzdevorg] aws_account_id = tlz-dev-mpa-x

arnvid avatar Aug 09 '22 11:08 arnvid

I also don't know how to config it for aws sso

yongzhang avatar Mar 13 '23 02:03 yongzhang

Trying to figure this out with SSO? Documentation would be nice :)

nikskiz avatar Mar 17 '23 07:03 nikskiz

The documentation says that add only the name of permission set as role_name and define aws_account_id. However I was not able get this work still.

[ssotestprofile]
aws_account_id = 1234567890
role_name = PermissionSetName
color = 330029

When the top right corner shows AWSReservedSSO_PermissionSetName_abcdefghijkl/username .

@tilfin can you point me what I missed?

heikkis avatar Mar 31 '23 09:03 heikkis

or is it possible support to switch by sso landing account X_X like, SSO -> landing account -> workload account

aMfM9E2 avatar Jun 20 '23 08:06 aMfM9E2

Heey, so we use LastPass Apps as an SSO provider (I don't know if this is different from other SSO providers on an AWS side).

The following config works for me, maybe it helps you:

[production]
role_arn       = arn:aws:iam::1234567890:role/RoleName
color          = ff1a1a

[staging]
role_arn       = arn:aws:iam::1234567890:role/RoleName
color          = 80c8f5

[development]
role_arn       = arn:aws:iam::1234567890:role/RoleName
color          = 4fdf11

dennisvandehoef avatar Jul 18 '23 07:07 dennisvandehoef

The documentation says that add only the name of permission set as role_name and define aws_account_id. However I was not able get this work still.

[ssotestprofile]
aws_account_id = 1234567890
role_name = PermissionSetName
color = 330029

When the top right corner shows AWSReservedSSO_PermissionSetName_abcdefghijkl/username .

@tilfin can you point me what I missed?

Same here.

yongzhang avatar Sep 20 '23 05:09 yongzhang