Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanfoo committed Jun 28, 2016
1 parent 82b9393 commit f759249
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,31 @@ cp mortadelo /usr/local/bin/

### How to use it

You can use explicit arn roles or use a _role alias_ configured in `~/.mortadelo/roles`
```
Usage:
mortadelo [OPTIONS] <assume | clean | configure>
Help Options:
-h, --help Show this help message
Available commands:
assume assume role
clean clean generated files
configure configure roles alias file
```

**Using an explicit arn role:**

`mortadelo assume -r arn:aws:iam::xxxxxxxxxxxx:role/foo -s foo`

**Using an alias for a role configured in a file (~/.mortadelo/roles by default)**

`mortadelo assume -a bar`

**Configuring a new roles alias file (~/.mortadelo/roles by default):**

`mortadelo configure -a bar`-r arn:aws:iam::xxxxxxxxxxxx:role/bar`


**Roles file example**

Expand Down

0 comments on commit f759249

Please sign in to comment.