vaultrs::transit::data

Function rewrap

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

Rewrap the provided ciphertext using the latest version of the named key.

See RewrapDataRequest