Skip to content

Commit

Permalink
Added plaintext/linux utility example
Browse files Browse the repository at this point in the history
  • Loading branch information
four43 authored Jul 16, 2018
1 parent 8ab10f0 commit 46d2cf9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ multiple times:
env-aws-params --prefix /common /bin/bash -c set
```

To get a plaintext output of your environment variables to use with other utilities, we can use `printenv`:
```bash
env-aws-params --silent --prefix /service-prefix /usr/bin/printenv > ~/some-file.sh
```
Which will write your environment variables in plain text, for example:
```bash
# ~/some-file.sh Contents:
ENV_VAR1=example
ENV_VAR2=test-value
```

## CLI Options

```
Expand Down

0 comments on commit 46d2cf9

Please sign in to comment.