다음을 통해 공유


CertificateClient.CreateIssuer(CertificateIssuer, CancellationToken) Method

Definition

Creates or replaces a certificate CertificateIssuer in the key vault. This operation requires the certificates/setissuers permission.

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

Parameters

issuer
CertificateIssuer

The CertificateIssuer to add or replace in the vault.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The created certificate issuer.

Exceptions

Name of issuer is empty.

issuer or Name of issuer is null.

Applies to