Class: SecretManagerMethodHandler
The MethodHandler which sends the commands to the Rust backend.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new SecretManagerMethodHandler(options
)
Parameters
Name | Type | Description |
---|---|---|
options | SecretManagerType | SecretManagerMethodHandler | A 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
Name | Type | Description |
---|---|---|
method | __SecretManagerMethods__ | One of the supported secret manager methods. |
Returns
Promise
<string
>
The JSON response of the method.