MingaAgent.ModelSelection.Credential.ApiKey (Minga v0.1.0)

Copy Markdown View Source

Exact API-key source identity; the key value is never retained.

Summary

Functions

Pins the provider and source without retaining its secret.

Types

t()

@type t() :: %MingaAgent.ModelSelection.Credential.ApiKey{
  provider: String.t(),
  source: :env | :file
}

Functions

new(provider, source)

@spec new(String.t(), :env | :file) :: t()

Pins the provider and source without retaining its secret.