Optional
createFunction called to await a secret storage key creation flow.
Promise resolving to an object with public key metadata, encoded private recovery key which should be disposed of after displaying to the user, and raw private key to avoid round tripping if needed.
Optional
getFunction called to get the user's current key backup passphrase. Should return a promise that resolves with a Uint8Array containing the key, or rejects if the key cannot be obtained.
Optional
keyThe current key backup object. If passed, the passphrase and recovery key from this backup will be used.
Optional
setupIf true, a new key backup version will be created and the private key stored in the new SSSS store. Ignored if keyBackupInfo is supplied.
Optional
setupReset even if keys already exist.
Generated using TypeDoc
Parameter of bootstrapSecretStorage