AWS Console - Open All SSO Accounts

Open all accounts and roles on AWS Console SSO screen used by AWS IAM Identity Center.

< Feedback on AWS Console - Open All SSO Accounts

Câu hỏi/Bình luận

§
Posted: 09-10-2024

Need to refine the selectors, otherwise the user dropdown in the upper-right corner will keep on opening and closing in an infinite loop:

        const collapsedButtons = document.querySelectorAll('[data-testid="account-list"] button[aria-expanded="false"]');

§
Posted: 09-10-2024

We can also restrict the script to the Accounts tab of the AWS access portal page:

// @match        https://*.awsapps.com/start/#/?tab=accounts

Post reply

Đăng nhập để bình luận