Skip to content

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

License

Notifications You must be signed in to change notification settings

shiftgig/awscli-console-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages