Last active
June 25, 2019 18:12
-
-
Save pysysops/5a4cf147f905a488ce1d57a626176ca5 to your computer and use it in GitHub Desktop.
installing aws-assume-role (https://github.com/scalefactory/aws-assume-role) and functions to ease interaction.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install aws_assume_role | |
echo 'awsassume () { eval `aws-assume-role environment set -p $@`; }' >> ~/.bashrc | |
echo 'awsconsole () { eval `aws-assume-role console -p $@`; }' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now (after configuration), you can assume various roles across accounts with:
and open the AWS console with: