mirror of
https://gitlab.sectorq.eu/jaydee/api_server.git
synced 2026-09-17 02:12:55 +02:00
build
This commit is contained in:
@@ -42,7 +42,6 @@ def setup_vault():
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
return client
|
return client
|
||||||
|
|
||||||
|
|
||||||
def get_secret(client, path, field=None):
|
def get_secret(client, path, field=None):
|
||||||
"""Retrieves a secret from Vault at the specified path."""
|
"""Retrieves a secret from Vault at the specified path."""
|
||||||
return client.secrets.kv.v2.read_secret_version(
|
return client.secrets.kv.v2.read_secret_version(
|
||||||
|
|||||||
Reference in New Issue
Block a user