Compartir a través de


CertificateClient.CreateIssuerAsync Método

Definición

Crea o reemplaza un certificado CertificateIssuer en el almacén de claves. Esta operación requiere el permiso 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

que CertificateIssuer se va a agregar o reemplazar en el almacén.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

Emisor de certificado creado.

Excepciones

Name de issuer está vacío.

issuer o Name de issuer es null.

Se aplica a