vaultrs::kv1

Function get

Source
pub async fn get<D: DeserializeOwned>(
    client: &impl Client,
    mount: &str,
    path: &str,
) -> Result<D, ClientError>
Expand description

Get value of the secret at given path. Return the deserialized HashMap of secret directly, if you need to access additional fields such as lead_duration, use get_raw