mirror of
https://github.com/flibusta-apps/services_manager_server.git
synced 2025-12-06 12:35:39 +01:00
8 lines
258 B
Bash
8 lines
258 B
Bash
#! /usr/bin/env sh
|
|
|
|
response=`curl -X 'GET' "https://$VAULT_HOST/v1/$VAULT_SECRET_PATH" -s \
|
|
-H 'accept: application/json' \
|
|
-H "X-Vault-Token: $VAULT_TOKEN"`
|
|
|
|
echo "$(echo "$response" | jq -r '.data.data | to_entries | map("\(.key)=\(.value)") | .[]')"
|