Skip to main content

Type Alias: PluginSecrets

PluginSecrets = object

Methods​

get()​

get(name): Promise<string | undefined>

Parameters​

name​

string

Returns​

Promise<string | undefined>


grant()​

grant(name, scope): Promise<PluginSecretInfo>

Parameters​

name​

string

scope​

string

Returns​

Promise<PluginSecretInfo>


httpCall()​

httpCall(request): Promise<BrokerHttpResult>

Parameters​

request​

PluginHttpCallInput

Returns​

Promise<BrokerHttpResult>


list()​

list(): Promise<PluginSecretInfo[]>

Returns​

Promise<PluginSecretInfo[]>


revoke()​

revoke(name, scope): Promise<PluginSecretInfo>

Parameters​

name​

string

scope​

string

Returns​

Promise<PluginSecretInfo>


set()​

set(input): Promise<PluginSecretInfo>

Parameters​

input​

PluginSecretInput

Returns​

Promise<PluginSecretInfo>