shiftgig / awscli-console-login

An aws-cli plugin to login to an account via the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

awscli-console-login

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.

Usage

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

Sponsors

This plugin was made possible by Shiftgig.

License

This plugin is released under the Apache License, Version 2.0.

Support

Please file an issue on the github repository if you think anything isn't working properly or an improvement is required.

About

An aws-cli plugin to login to an account via the browser

License:Apache License 2.0


Languages

Language:Python 100.0%