vaultrs::transit::generate

Function random_bytes

source
pub async fn random_bytes(
    client: &impl Client,
    mount: &str,
    format: OutputFormat,
    source: RandomBytesSource,
    opts: Option<&mut GenerateRandomBytesRequestBuilder>,
) -> Result<GenerateRandomBytesResponse, ClientError>
Expand description

Generate random bytes.

See GenerateRandomBytesRequest