Partilhar via


CertificateClient.CreateIssuer(CertificateIssuer, CancellationToken) 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 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)

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