Skip to content

SecretsClient ​

Mints short-lived credentials for the vendors that issue them.

Methods ​

mint() ​

javascript
mint(name: string, params: Array<any>, callback: any): void

Mint a credential for one of this experience's secrets.

Parameters:

  • name (string) - The name bound in the editor under Secrets.
  • params (Array<any>) - Vendor-specific mint parameters, such as an OpenAI session config.
  • callback (any) - Callback function (result, error)

Returns: void