Skip to main content

Class: SecretManagerMethodHandler

The MethodHandler which sends the commands to the Rust backend.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SecretManagerMethodHandler(options)

Parameters

NameTypeDescription
optionsSecretManagerType | SecretManagerMethodHandlerA secret manager type or a secret manager method handler.

Properties

methodHandler

methodHandler: SecretManagerMethodHandler

Methods

callMethod

callMethod(method): Promise<string>

Call a secret manager method.

Parameters

NameTypeDescription
method__SecretManagerMethods__One of the supported secret manager methods.

Returns

Promise<string>

The JSON response of the method.