Skip to content

Commit

Permalink
update document about role-arn
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlinvc committed Sep 18, 2019
1 parent 74cd277 commit 1621c37
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ You can switch between different sets in the credentials file by passing

cli53 list --profile my_profile

You can also assume a specific role by passing `--role-arn` to any command.
For example:

cli53 list --role-arn arn:aws:iam::123456789012:role/myRole

You can combine role with profile.
For example:

cli53 list --profile my_profile --role-arn arn:aws:iam::123456789012:role/myRole

For more information, see: http://blogs.aws.amazon.com/security/post/Tx3D6U6WSFGOK2H/A-New-and-Standardized-Way-to-Manage-Credentials-in-the-AWS-SDKs

Note: for Alpine on Docker, the pre-built binaries do not work, so either use Debian, or follow the instructions below for Building from source.
Expand Down

0 comments on commit 1621c37

Please sign in to comment.