Compartir a través de


KeyVaultClientExtensions.GetCertificateAsync Método

Definición

Sobrecargas

GetCertificateAsync(IKeyVaultClient, String, CancellationToken)

Obtiene un certificado.

GetCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

Obtiene un certificado.

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

Obtiene información sobre un certificado.

GetCertificateAsync(IKeyVaultClient, String, CancellationToken)

Source:
KeyVaultClientExtensions.cs

Obtiene un 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

Dirección URL del certificado.

cancellationToken
CancellationToken

Token de cancelación opcional

Devoluciones

El certificado recuperado

Se aplica a

GetCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

Source:
KeyVaultClientExtensions.cs

Obtiene un 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

Dirección URL del almacén que contiene el certificado.

certificateName
String

Nombre del certificado en el almacén especificado.

cancellationToken
CancellationToken

Token de cancelación opcional

Devoluciones

El certificado recuperado

Se aplica a

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

Source:
KeyVaultClientExtensions.cs

Obtiene información sobre un 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

El grupo de operaciones de este método de extensión.

vaultBaseUrl
String

El nombre del almacén, por ejemplo https://myvault.vault.azure.net, .

certificateName
String

Nombre del certificado en el almacén especificado.

certificateVersion
String

Versión del certificado.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Comentarios

Obtiene información sobre un certificado específico. Esta operación requiere el permiso certificates/get.

Se aplica a