-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eedfbff
commit a77eec2
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
# aws-role | ||
|
||
Small CLI utility to assume a role in AWS | ||
|
||
Using this utility, a command can be run using an assumed role, as opposed to your default profile. The role assumption is not persisted to your shell, so subsequent requests must also use this utility. | ||
|
||
|
||
## Installation | ||
|
||
### From source | ||
|
||
Currently, the only way to install the utility is from source. It requires you to have [go](https://golang.org) installed on your system. | ||
|
||
`go get github.com/ryanfrench/aws-role` | ||
|
||
## Usage | ||
|
||
### Assume a role | ||
|
||
`aws-role --role-arn [role] [command]` | ||
|
||
This will assume `[role]` and then run `[command]` using that role. | ||
|
||
### Help | ||
|
||
`aws-role --help` |
This file contains 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