CreateSecretStorageOpts
Defined in: src/crypto-api/index.ts:1209
Parameter of CryptoApi#bootstrapSecretStorage
Properties
Section titled “Properties”createSecretStorageKey?
Section titled “createSecretStorageKey?”
optionalcreateSecretStorageKey?: () =>Promise<GeneratedSecretStorageKey>
Defined in: src/crypto-api/index.ts:1216
Function called to await a secret storage key creation flow.
Returns
Section titled “Returns”Promise<GeneratedSecretStorageKey>
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.
setupNewKeyBackup?
Section titled “setupNewKeyBackup?”
optionalsetupNewKeyBackup?:boolean
Defined in: src/crypto-api/index.ts:1223
If true, a new key backup version will be created and the private key stored in the new SSSS store. Ignored if keyBackupInfo is supplied.
setupNewSecretStorage?
Section titled “setupNewSecretStorage?”
optionalsetupNewSecretStorage?:boolean
Defined in: src/crypto-api/index.ts:1228
Reset even if keys already exist.