Function: backupKeyset()
backupKeyset(
keysetId
,backupOptions
):Promise
<void
>
Description
Create a backup for a previously generated keyset. If a backup already exists, the new backup replaces it.
Throws
Parameters
Parameter | Type | Description |
---|---|---|
keysetId | string | The ID of the keyset |
backupOptions | BackupOptions | Backup options. Specify either an external backup or a cloud backup. |
Returns
Promise
< void
>
A Promise that resolves when the backup operation is successful.