Compartilhar via


CertificateClient.GetIssuerAsync(String, CancellationToken) Método

Definição

Recupera o certificado CertificateIssuer especificado do cofre. Essa operação requer a permissão certificates/getissuers.

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

Parâmetros

issuerName
String

O nome do CertificateIssuer a ser recuperado.

cancellationToken
CancellationToken

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

Retornos

O emissor do certificado recuperado.

Exceções

issuerName está vazio.

issuerName é nulo.

Aplica-se a