vaultrs::transit::generate

Function hmac

source
pub async fn hmac(
    client: &impl Client,
    mount: &str,
    name: &str,
    input: &str,
    opts: Option<&mut GenerateHmacRequestBuilder>,
) -> Result<GenerateHmacResponse, ClientError>
Expand description

Return the digest of the base64-encoded input data.

See GenerateHmacRequest