Skip to content

Commit

Permalink
fix readme format
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek DeJonghe committed May 1, 2016
1 parent a570b95 commit f56024d
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ encrypt:
```
kmstool.py -e --file myfiles.tar --output this.tar.enc --key_id <KMS Key-ID>
kmstool.py -e --file myfiles.tar --output s3://mybucket/my/key/path/this.tar.enc --key_id <KMS Key-ID>
kmstool.py -e --file s3://bucket/myfiles.tar --output s3://encrypted_bucket/my/key/path/this.tar.enc --key_id <KMS Key-ID>
kmstool.py -e --file s3://bucket/myfiles.tar --output s3://encrypted_bucket/this.tar.enc --key_id <KMS Key-ID>
```

decrypt:
Expand All @@ -23,3 +23,26 @@ kmstool.py -d --file this.tar.enc --output myfiles.tar
kmstool.py -d --file s3://mybucket/my/key/path/this.tar.enc --output myfiles.tar
kmstool.py -d --file s3://encrypted_bucket/my/key/path/this.tar.enc --output s3://mybucket/myfiles.tar
```
help:
```
Usage: kmstool [options]
You must specify to encrypt or decrypt.
Output will always output a tar file.
Options:
-h, --help show this help message and exit
-e, --encrypt This encrypts the file
-d, --decrypt This decrypts the file
-f FILE, --file=FILE File to encrypt or decrypt
-o OUTPUT, --output=OUTPUT
Path to output file
-k KEY_ID, --key_id=KEY_ID
KMS Key-id
-s KEY_SPEC, --key_spec=KEY_SPEC
KMS KeySpec
-p PROFILE, --profile=PROFILE
AWS Profile
-r REGION, --region=REGION
Region
-t TEMP, --temp=TEMP Temp work dir, optional
```

0 comments on commit f56024d

Please sign in to comment.