Skip to content
docs

SecureStorageOptions

Defined in: storage.ts:15

optional namespace?: string

Defined in: storage.ts:20

Keeps one app’s secrets apart from another’s (and from tests). Letters, digits, ., _, -. Default "default".


optional native?: NativeSecureStorage

Defined in: storage.ts:26

The native module — injected by tests; the installed Expo module otherwise.


optional prompts?: object

Defined in: storage.ts:24

Default sheet text for reads (unlock) and, on Android, writes (save).

optional save?: PromptText

optional unlock?: PromptText


optional protection?: Protection

Defined in: storage.ts:22

Protection for secrets written without an explicit one. Default biometricsOrPasscode.