How cloud backup works
Enabling cloud backup upgrades the wallet from the default 2-of-2 threshold scheme to 2-of-3 through Key Resharing:- The client keeps its local User Share.
- A new share is created and uploaded to the chosen cloud provider.
- Dynamic continues to hold the Server Share.
If delegated access is enabled before or after cloud backup, the delegated share is sent to your webhook instead of a new share going to the cloud provider, and the cloud backup becomes a redundant copy of the client’s existing share rather than a distinct one.
Enable Google Drive backup
Google Drive authentication uses OAuth. The user grants two Drive scopes on the consent screen and must link a Google account before backing up. Enabling Google Drive takes two steps: turn it on for your environment in the Dynamic Developer Console, under Wallets > Embedded Wallets > Backup & Recovery, then complete the setup in the implementation guide below. You must also enable the Google Drive API in your Google Cloud project. When a user successfully backs up their key share, Dynamic fires thewallet.keyShares.backedUpToExternal webhook event.
Implement
Google Drive backup
Configuration steps, OAuth scopes, and the pre-flight readiness check.