stax2aws v1.3.0 released

Published 25 Feb 2021


Version 1.3.0 of stax2aws has been released. This update adds a new argument that allows users to specify the ARN of a role to assume.

This is useful when regularly logging in to one or more accounts and roles.

Before you can use this new feature, you must upgrade stax2aws to version 1.3.0 or later.

When using stax2aws, simply add the --role-arn (-r) argument specifying the ARN of the role to assume. stax2aws will then suppress the role selection prompt and automatically assume the specified role.

stax2aws login \
    -i stax-au1 -o mega-corp -p my-stax2aws-profile \
    -r arn:aws:iam::123456789012:role/staxid-readonly-role

stax2aws will update the profile in its configuration to use this role. Future invocations will not require the role ARN to be specified. If you need to change the role ARN to be assumed by a particular profile, simply issue the --role-arn argument again.

See also


Back to changelog