vaultrs::transit::key

Function trim

Source
pub async fn trim(
    client: &impl Client,
    mount: &str,
    name: &str,
    min_available_version: u64,
) -> Result<(), ClientError>
Expand description

Trim older key versions setting a minimum version for the keyring.

See TrimKeyRequest