vaultrs::pki::cert::ca

Function sign

source
pub async fn sign(
    client: &impl Client,
    mount: &str,
    role: &str,
    csr: &str,
    common_name: &str,
    opts: Option<&mut SignCertificateRequestBuilder>,
) -> Result<SignCertificateResponse, ClientError>
Expand description

Signs a certificate using the root CA

See SignCertificateRequest