Use Common Fate's Granted CLI tool for switching AWS profiles in Xonsh shell
If you like the idea click
Prerequisites
Install Granted and ensure the assumego command is in your path already (try which assumego).
Installation
To install use pip:
xpip install xontrib-common-fate-granted
# or: xpip install -U git+https://github.com/eppeters/xontrib-common-fate-grantedUsage
Load the plugin in your .xonshrc.
e.g.:
xontrib load common_fate_granted
You can use assume now, just like people who use boring old shells!
...
Known issues
- Please file an issue if you encounter a bug!
...
Credits
- This package was created with xontrib template.
- This port was first documented by Eddie Peters in a blog post on dinogalactic.com