If you have multile roles in multiple AWS accounts, it's tedius to switch between roles in AWS CLI.
This script makes it easier to select a role.
Usage:
$ assume-role
account1 arn:aws:iam::012345678901:role/xxxxxx-role
account1 arn:aws:iam::012345678901:role/yyyyyy-role
account1 arn:aws:iam::012345678901:role/zzzzzz-role
account2 arn:aws:iam::123456789012:role/abcdef-role
account3 arn:aws:iam::987654321098:role/opqrst-role
This work is partially funded by Linkbal Inc.