vaultrs::transit::data

Function decrypt

source
pub async fn decrypt(
    client: &impl Client,
    mount: &str,
    name: &str,
    ciphertext: &str,
    opts: Option<&mut DecryptDataRequestBuilder>,
) -> Result<DecryptDataResponse, ClientError>
Expand description

Decrypt the provided ciphertext using the named key.

See DecryptDataRequest