This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
1 changed file
with
23 additions
and
5 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,11 +1,29 @@ | ||
# Mortadelo CLI tool | ||
|
||
### THIS TOOL IS UNDER HEAVY DEVELOPMENT ### | ||
`THIS TOOL IS UNDER HEAVY DEVELOPMENT` | ||
|
||
**What for?** | ||
### What for? | ||
|
||
Mortadelo makes assming AWS roles pretty simple, asking for AWS temporal credentials and dumping them to ~/.aws/credentials | ||
Mortadelo makes assming AWS roles pretty simple, asking for temporary AWS credentials and dumping them to `~/.aws/credentials` | ||
|
||
**How to use it** | ||
### Installation | ||
|
||
You can use explicit arn roles or use a _role alias_ configured in ~/.mortadelo/roles | ||
``` | ||
wget https://github.com/ivanfoo/mortadelo/releases/download/v0.1.0/mortadelo_v0.1.0.tgz | ||
tar -xfv mortadelo_v0.1.0.tgz | ||
cp mortadelo /usr/local/bin/ | ||
``` | ||
|
||
### How to use it | ||
|
||
You can use explicit arn roles or use a _role alias_ configured in `~/.mortadelo/roles` | ||
|
||
**Roles file example** | ||
|
||
``` | ||
[alias_for_foo] | ||
arn = arn:aws:iam::xxxxxxxxxxxx:role/foo | ||
[alias_for_bar] | ||
arn = arn:aws:iam::yyyyyyyyyyyy:role/bar | ||
``` |