From 46d2cf99d9c4ef93e6b08c7fa5823ca29fe7f145 Mon Sep 17 00:00:00 2001 From: Seth Miller Date: Mon, 16 Jul 2018 10:55:43 -0500 Subject: [PATCH] Added plaintext/linux utility example --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 801ec65..c96b848 100644 --- a/README.md +++ b/README.md @@ -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 ```