Compartilhar via


CertificateClient.CreateIssuerAsync Método

Definição

Cria ou substitui um certificado CertificateIssuer no cofre de chaves. Essa operação requer a permissão certificates/setissuers.

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

Parâmetros

issuer
CertificateIssuer

O CertificateIssuer a ser adicionado ou substituído no cofre.

cancellationToken
CancellationToken

Um CancellationToken que controla o tempo de vida da solicitação.

Retornos

O emissor do certificado criado.

Exceções

Name de issuer está vazio.

issuer ou Name de issuer é nulo.

Aplica-se a