Partager via


KeyVaultClientExtensions.GetCertificateAsync Méthode

Définition

Surcharges

GetCertificateAsync(IKeyVaultClient, String, CancellationToken)

Obtient un certificat.

GetCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

Obtient un certificat.

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

Obtient des informations sur un certificat.

GetCertificateAsync(IKeyVaultClient, String, CancellationToken)

Source:
KeyVaultClientExtensions.cs

Obtient un certificat.

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)

Paramètres

operations
IKeyVaultClient
certificateIdentifier
String

URL du certificat.

cancellationToken
CancellationToken

Jeton d’annulation facultatif

Retours

Certificat récupéré

S’applique à

GetCertificateAsync(IKeyVaultClient, String, String, CancellationToken)

Source:
KeyVaultClientExtensions.cs

Obtient un certificat.

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)

Paramètres

operations
IKeyVaultClient
vaultBaseUrl
String

URL du coffre contenant le certificat.

certificateName
String

Nom du certificat dans le coffre donné.

cancellationToken
CancellationToken

Jeton d’annulation facultatif

Retours

Certificat récupéré

S’applique à

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

Source:
KeyVaultClientExtensions.cs

Obtient des informations sur un certificat.

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)

Paramètres

operations
IKeyVaultClient

Groupe d’opérations pour cette méthode d’extension.

vaultBaseUrl
String

Nom du coffre, par exemple https://myvault.vault.azure.net.

certificateName
String

Nom du certificat dans le coffre donné.

certificateVersion
String

Version du certificat.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Obtient des informations sur un certificat spécifique. Cette opération nécessite l’autorisation certificats/obtenir.

S’applique à