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

Use account id in stead of alias #218

Closed choeflake closed 2 years ago

choeflake commented 2 years ago

The property userAccountNumber contains the account id. If an account has an alias configured, the property loginDisplayNameAccount contains the alias. Using the account id, leads to a stable config as the number is immutable.

tilfin commented 2 years ago

@choeflake This PR won't work as expected. A userAccountNumber is not loginDisplayNameAccount id but roleDisplayNameAccount id when you switch a target role.