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

Feature request: STS endpoint/region for switching customizable #227

Open jgard opened 2 years ago

jgard commented 2 years ago

During the outage on 12/7/2021, we (and I imagine most folks) had issues switching roles even though most of our resources are not in us-east-1, apparently because the switch role behavior (by default and with this plugin) uses the global endpoint (aka us-east-1).

By default the Console uses https://signin.aws.amazon.com/switchrole when you manually switch roles. If you put a region in front of that (like https://us-east-2.signin.aws.amazon.com/switchrole), I think it would've worked during the outage.

An optional configuration item somewhere (per profile or global?) allowing you to specify the STS region would be wonderful. Not only to workaround the rare outage like the other day, but provide the option to keep this traffic more geographically efficient.

tilfin commented 2 years ago

Findings

tilfin commented 2 years ago

added experimental 'Sign-in endpoint in current region' option in v2.3.0