GNU/Linux ◆ xterm-termite ◆ bash 1515 views

A small little demo showing you how aws-runas can be used to assume a role and run an AWS command with a shell under the assumed role.

Note that we are using the AWS CLI here, which is not necessarily the best demonstration since it has native role support, but the key here is that it can be used with ANY tool that needs AWS access without that tool being profile or role aware. If it can use the standard environment variables, it can use aws-runas.

Get aws-runas at https://github.com/vancluever/aws-runas