Share via


KeyVaultBackupClient Class

Definition

The KeyVaultBackupClient provides synchronous and asynchronous methods to perform full and selective key backup and restore of the Azure Managed HSM.

public class KeyVaultBackupClient
type KeyVaultBackupClient = class
Public Class KeyVaultBackupClient
Inheritance
KeyVaultBackupClient

Constructors

KeyVaultBackupClient()

Initializes a new instance of the KeyVaultBackupClient class for mocking.

KeyVaultBackupClient(Uri, TokenCredential)

Initializes a new instance of the KeyVaultBackupClient class for the specified vault.

KeyVaultBackupClient(Uri, TokenCredential, KeyVaultAdministrationClientOptions)

Initializes a new instance of the KeyVaultBackupClient class for the specified vault.

Properties

VaultUri

The vault Uri.

Methods

StartBackup(Uri, String, CancellationToken)

Initiates a full key backup of the Key Vault.

StartBackupAsync(Uri, String, CancellationToken)

Initiates a full key backup of the Key Vault.

StartRestore(Uri, String, CancellationToken)

Initiates a full key restore of the Key Vault.

StartRestoreAsync(Uri, String, CancellationToken)

Initiates a full key restore of the Key Vault.

StartSelectiveKeyRestore(String, Uri, String, CancellationToken)

Initiates a selective key restore of the Key Vault.

StartSelectiveKeyRestoreAsync(String, Uri, String, CancellationToken)

Initiates a selective key restore of the Key Vault.

Applies to