This commit is contained in:
2024-11-19 15:48:43 +01:00
parent f1630cd696
commit 9b0117e2b5

View File

@@ -4,4 +4,4 @@ response=`curl -X 'GET' "https://$VAULT_HOST/v1/$VAULT_SECRET_PATH" -s \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H "X-Vault-Token: $VAULT_TOKEN"` -H "X-Vault-Token: $VAULT_TOKEN"`
echo "$(echo "$response" | jq -r '.data.data | to_entries | map("\(.key)=\(.value)") | .[]')" echo "$(echo "$response" | jq -r '.data.data | to_entries | map("\(.key)='\''\(.value)'\''") | .[]')"