Skip to content

SecureStorageService

Secure storage interface to store and retrieve sensitive credentials/tokens without exposing them to request payloads.

deleteSecret(slotId): Promise<void>

Deletes a secret by its slot identifier.

string

Promise<void>


getSecret(slotId): Promise<string | null>

Gets a secret by its unique slot identifier.

string

Promise<string | null>


setSecret(slotId, secret): Promise<void>

Securely saves a secret under a unique slot identifier.

string

string

Promise<void>