Skip to content

Type Alias: AiCredential ​

ts
type AiCredential = 
  | SecretPlaceholder
  | {
  secret: string;
};

A key the host fills from one of the install's secrets: ctx.secret(name), or the secret by name, { secret: 'apiKey' }. Never the key itself: a module holds none.

Released under the Apache-2.0 License.