vaultrs::kv2

Function set_with_options

source
pub async fn set_with_options<T: Serialize>(
    client: &impl Client,
    mount: &str,
    path: &str,
    data: &T,
    options: SetSecretRequestOptions,
) -> Result<SecretVersionMetadata, ClientError>
Expand description

Sets the value of the secret at the given path including an argument for SetSecretRequestOptions

See SetSecretRequest