CertificateClient.MergeCertificate Method

Definition

Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires the certificate/create permission.

public virtual Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy> MergeCertificate (Azure.Security.KeyVault.Certificates.MergeCertificateOptions mergeCertificateOptions, System.Threading.CancellationToken cancellationToken = default);
abstract member MergeCertificate : Azure.Security.KeyVault.Certificates.MergeCertificateOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy>
override this.MergeCertificate : Azure.Security.KeyVault.Certificates.MergeCertificateOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy>
Public Overridable Function MergeCertificate (mergeCertificateOptions As MergeCertificateOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of KeyVaultCertificateWithPolicy)

Parameters

mergeCertificateOptions
MergeCertificateOptions

The details of the certificate or certificate chain to merge into the key vault.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The merged certificate.

Exceptions

mergeCertificateOptions is null.

Applies to