tilfinltd / aws-extend-switch-roles

Extend your AWS IAM switching roles by Chrome extension, Firefox add-on, or Edge add-on
https://chromewebstore.google.com/detail/aws-extend-switch-roles/jpmkfafbacpgapdghgdpembnojdlgkdl?utm_source=github
MIT License
1.32k stars 141 forks source link

Recognize SSO role name for base accounts #213

Closed choeflake closed 2 years ago

choeflake commented 2 years ago

I'm happy with feature #129. In our case we start login via an SSO role (Permission Set). Afterwards we assume an IAM role.

Since #129 the entry role is catched from the AWS Console page. But, the SSO role name which is displayed there has a random string in it. That makes it hard to create a config file with the correct 'role_name' property in it.

The standard role names which is shown in the console is 'AWSReservedSSO' followed by the user friendly name of the SSO role (Permission Set) and ends with ''. It would be very helpful if we could extract the user friendly role name.