Freigeben über


KeyVaultClientExtensions.RestoreCertificateAsync Methode

Definition

Stellt ein gesichertes Zertifikat in einem Tresor wieder her.

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

Parameter

operations
IKeyVaultClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

vaultBaseUrl
String

Der Tresorname, z. B https://myvault.vault.azure.net. .

certificateBundleBackup
Byte[]

Das Sicherungsblob, das einem Zertifikatpaket zugeordnet ist.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Stellt ein gesichertes Zertifikat und alle zugehörigen Versionen in einem Tresor wieder her. Für diesen Vorgang sind zertifikate/wiederherstellungsberechtigungen erforderlich.

Gilt für: