This commit is contained in:
2024-04-14 13:09:18 +02:00
parent 891fb90ef6
commit 8fa2406cb2

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)") | .[]')"