Function: backupKeyset

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

FordefiSdkErrorResult

Parameters

ParameterTypeDescription
keysetIdstringThe ID of the keyset
backupOptionsBackupOptionsBackup options. Specify either an external backup or a cloud backup.

Returns

Promise< void >

A Promise that resolves when the backup operation is successful.