Skip to main content
Version: 9.1.x

Type Alias: SetOptions

SetOptions: object & BaseOptions & AccessControlOption

Base options for keychain functions.

Type declaration​

accessGroup?​

optional accessGroup: string

The access group to share keychain items between apps.

Platform​

iOS, visionOS

accessible?​

optional accessible: ACCESSIBLE

Specifies when a keychain item is accessible.

Platform​

iOS, visionOS

Default​

ACCESSIBLE.AFTER_FIRST_UNLOCK

securityLevel?​

optional securityLevel: SECURITY_LEVEL

The desired security level of the keychain item.

Platform​

Android

storage?​

optional storage: STORAGE_TYPE

The storage type.

Platform​

Android

Default​

'Best available storage'

Defined in​

types.ts:44