Compartilhar via


KeyVaultClientExtensions.GetCertificateAsync Método

Definição

Sobrecargas

GetCertificateAsync(IKeyVaultClient, String, CancellationToken)

Obtém um certificado.

GetCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

Obtém um certificado.

GetCertificateAsync(IKeyVaultClient, String, String, String, CancellationToken)

Obtém informações sobre um certificado.

GetCertificateAsync(IKeyVaultClient, String, CancellationToken)

Origem:
KeyVaultClientExtensions.cs

Obtém um certificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateBundle> GetCertificateAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string certificateIdentifier, System.Threading.CancellationToken cancellationToken = default);
static member GetCertificateAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateBundle>
<Extension()>
Public Function GetCertificateAsync (operations As IKeyVaultClient, certificateIdentifier As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateBundle)

Parâmetros

operations
IKeyVaultClient
certificateIdentifier
String

A URL do certificado.

cancellationToken
CancellationToken

Token de cancelamento opcional

Retornos

O certificado recuperado

Aplica-se a

GetCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

Origem:
KeyVaultClientExtensions.cs

Obtém um certificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateBundle> GetCertificateAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string certificateName, System.Threading.CancellationToken cancellationToken = default);
static member GetCertificateAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateBundle>
<Extension()>
Public Function GetCertificateAsync (operations As IKeyVaultClient, vaultBaseUrl As String, certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateBundle)

Parâmetros

operations
IKeyVaultClient
vaultBaseUrl
String

A URL do cofre que contém o certificado.

certificateName
String

O nome do certificado no cofre fornecido.

cancellationToken
CancellationToken

Token de cancelamento opcional

Retornos

O certificado recuperado

Aplica-se a

GetCertificateAsync(IKeyVaultClient, String, String, String, CancellationToken)

Origem:
KeyVaultClientExtensions.cs

Obtém informações sobre um certificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateBundle> GetCertificateAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string certificateName, string certificateVersion, System.Threading.CancellationToken cancellationToken = default);
static member GetCertificateAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.CertificateBundle>
<Extension()>
Public Function GetCertificateAsync (operations As IKeyVaultClient, vaultBaseUrl As String, certificateName As String, certificateVersion As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateBundle)

Parâmetros

operations
IKeyVaultClient

O grupo de operações para esse método de extensão.

vaultBaseUrl
String

O nome do cofre, por exemplo https://myvault.vault.azure.net, .

certificateName
String

O nome do certificado no cofre fornecido.

certificateVersion
String

A versão do certificado.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Obtém informações sobre um certificado específico. Essa operação requer a permissão de obtenção/certificados.

Aplica-se a