Skip to content

SecretStorage.peekSecret method

SecretStorage › peekSecret

Unofficial

Reads a secret without recording an access in its metadata.

Signature:

peekSecret(id: string): null | string

Parameters:

Parameter Type Description
id string the secret ID

Returns: null | stringthe secret value, or null if not found