Skip to content

SecretStorage.getLastAccess method

SecretStorage › getLastAccess

Unofficial

Gets the timestamp of the last recorded access for a secret.

Signature:

getLastAccess(id: string): null | number

Parameters:

Parameter Type Description
id string the secret ID

Returns: null | numberthe last-access timestamp in milliseconds, or null if never accessed