The awscli-console-login plugin converts roles described in ~/.aws/config
into active AWS console sessions in your browser.
While the console enables cross-account access, its support is limited to 5 roles. Any multi-account strategy is likely to require a greater number of roles. This plugin simplifies and unifies the management of those role ARNs via the local config file.
To get started, simply install the package and add it to your config file's plugin section. Note that the second step can be performed by manually editing ~/.aws/config
instead.
$ pip install awscli-console-login
$ aws configure set plugins.console awscli_console_login
Thereafter, invoke the command on the appropriate profile. A logged-in console session should open in your browser of choice:
$ aws console-login --profile poc
This plugin was made possible by Shiftgig.
This plugin is released under the Apache License, Version 2.0.
Please file an issue on the github repository if you think anything isn't working properly or an improvement is required.