Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
elidhu committed Sep 21, 2020
1 parent 4b57845 commit f042f4f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,17 @@ The places that the SDK looks for credentials are:
- Shared credentials file

### Using aws-vault
It is advised to use **goss** in conjuction with **aws-vault** so that your credentials are stored encrypted locally and you just inject them each time you run **goss**, like so:

It is advised to use **goss** in conjuction with **aws-vault** so that your credentials are stored encrypted locally and you just inject them each time you run **goss**. E.g. to run with your 'prod' profile:
```bash
aws-vault exec prod -- goss
```
if you are going to run multiple goss commands in a session you can start a shell that holds your credentials with:

It may also be useful to alias this command in some useful way so that it isn't so painful to write out every time!
```bash
alias gprod='aws-vault exec prod -- goss'
```

If you are going to run multiple goss commands in a session you can start a shell that holds your credentials with:

```bash
# This will put your AWS credentials / region etc. into the environment
Expand Down Expand Up @@ -152,7 +157,7 @@ goss delete -n /test/param
Just some fanciness showing interop with other Unix tools, such as the popular **jq**. This will use **goss** to list the parameters in the store, output as json, filter to the names and pass them to **goss** again to delete.

```bash
goss list -p / --json | jq '.[].Name' | xargs -n1 goss delete -n
goss list -p / --json | jq '.[].Name' | xargs -n1 -- goss delete -n
```
### Import
Import allows reading a file into the parameter store.
Expand Down

0 comments on commit f042f4f

Please sign in to comment.