pub async fn get_secret(
vault_auth_token: &str,
vault_base_url: &str,
secret_path: &str,
) -> Result<Value, Error>Expand description
Get a secret from Vault’s KV store at secret_path.
secret_path is concatenated onto vault_base_url verbatim;
callers are responsible for the leading /v1/... prefix. The
returned Value is the .data field of the Vault response
(the K/V envelope itself is stripped here).
§Errors
[Error::NetError] when the HTTP request fails or Vault
responds with a non-success status.