From e051c7204b5ad58a9da039e3ff5930a58dd150dc Mon Sep 17 00:00:00 2001 From: gkspranger Date: Mon, 19 Dec 2022 14:10:29 -0500 Subject: [PATCH] useful credhub commands --- credhub | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 credhub diff --git a/credhub b/credhub new file mode 100644 index 0000000..92cfea8 --- /dev/null +++ b/credhub @@ -0,0 +1,9 @@ +--- +syntax: bash +tags: [ credhub ] +--- +# To set a CredHub credential, of type 'value', using the contents of a file: +credhub set -n -t value -v "$(cat )" + +# To export descendant CredHub credentials to a file in JSON format: +credhub export -p -f .json -j