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.
Choosing a provider
Enable a provider
Enabling either provider takes two steps: turn it on for your environment in the Dynamic Developer Console, under Wallets > Embedded Wallets > Backup & Recovery, then complete the provider-specific setup in your SDK’s implementation guide below. Google Drive also requires enabling 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 (React)
Configuration steps, OAuth scopes, and the pre-flight readiness check.
Google Drive backup (JavaScript)
Configuration steps, OAuth scopes, and the pre-flight readiness check.
iCloud backup (React)
CloudKit setup and the iframe-based authentication flow.