aws sts assume-role is a pain because it requires parsing the output and passing the parsed credentials to the subsequent command.
aws-assume-run launches a subprocess with AWS IAM assumed role credentials. Think envconsul for AWS IAM Roles.
go get -u github.com/fundingcircle/aws-assume-runaws-assume-run [role-arn-to-assume] [cmd] [params...]Access s3 bucket via role
aws-assume-run arn:aws:iam::121634321:role/bucket-reader aws s3 ls bucket-role-has-access-toUpdate a kubeconfig for a cluster in another account.
aws-assume-run arn:aws:iam::121634321:role/eks-service-role aws eks update-kubeconfig --name dev-eksBuild for release.
make VERSION=v1.0.1 release -j2