Skip to content
docs

KeyVault

Defined in: stores.ts:22

Where backup KEYS live for the no-password option (a key protector on the file).

readonly kind: string

Defined in: stores.ts:24

Also the protector id written into the backup file.

delete(id): Promise<void>

Defined in: stores.ts:29

string

Promise<void>


get(id): Promise<Uint8Array<ArrayBufferLike> | null>

Defined in: stores.ts:26

The key — asks for the device owner (Face ID / passcode) first. null when there is none.

string

Promise<Uint8Array<ArrayBufferLike> | null>


getOrCreate(id): Promise<Uint8Array<ArrayBufferLike>>

Defined in: stores.ts:28

An existing key (asks for the device owner, as get) or a new one (no prompt).

string

Promise<Uint8Array<ArrayBufferLike>>