/aws-sso-role-header-fix

aws-sso-role-header-fix

Primary LanguageJavaScript

aws-sso-role-header-fix

Instructions

  1. Download a user script plugin for your browser. I recommend tampermonkey and enable it.
  1. In the tampermonkey plugin menu select Create a New Script

create a new script

  1. Paste in the aws-fix-role.js script

alt

  1. Update line 17 with your first account ID and alias, then add any additional accounts as needed.

  2. Save the code ctrl + s

And you are done.

Key points and good to knows

This script will not execute if the site doesn't start with https://console.aws.amazon.com

I've disabled updates because tampermonkey can be dangerous with autoupdates on.