SecretsOperations
The secrets.* operations.
Methods
Section titled “Methods”list()
Section titled “list()”list(owner, options?): Promise<object[]>;List an owner's secrets.
The names of the secrets the owner holds, and what each is for, including the accounts they connected. Never a value.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<object[]>
put( owner, name, input, options?): Promise<void>;Seal a secret.
Seals the value as the owner's secret of that name, in place of any it held, and reconnects the owner's MCP servers whose headers read it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
name |
string |
input |
SecretInput |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<void>
delete()
Section titled “delete()”delete( owner, name, options?): Promise<void>;Remove a secret.
Removes the owner's secret of that name. Removing none answers as removing one does.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
name |
string |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<void>