IdentitySource

org.llm4s.llmconnect.auth.IdentitySource
@Stable

Where a workload's identity token comes from - typically a SPIFFE JWT-SVID file that spiffe-helper keeps fresh. The configured form, before it is read. Stable since #1818, as part of the workload-identity configuration the Stable configs carry.

Attributes

Source
IdentityTokenSource.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class File(path: Path)

A file re-read on every fetch, so a rotated token is picked up.

A file re-read on every fetch, so a rotated token is picked up.

Attributes

Source
IdentityTokenSource.scala
final case class Literal(token: String)

A fixed token: for tests, or a token injected some other way.

A fixed token: for tests, or a token injected some other way.

Attributes

Source
IdentityTokenSource.scala