Skip to content

SecretStorage.deleteSecret method

SecretStorage › deleteSecret

Unofficial

Deletes a secret from storage.

Signature:

deleteSecret(id: string): boolean

Parameters:

Parameter Type Description
id string the secret ID

Returns: booleanwhether a secret with the given ID existed and was deleted