OpenAIWorkloadIdentity

org.llm4s.llmconnect.config.OpenAIWorkloadIdentity
See theOpenAIWorkloadIdentity companion object
@Stable
final case class OpenAIWorkloadIdentity

OpenAI workload identity federation: the identity token (e.g. a SPIFFE JWT-SVID) the OpenAI SDK exchanges at OpenAI's token endpoint for the service account's access token. The ids are redacted in toString.

Value parameters

clientId

sent with the exchange when the identity provider requires one

identityProviderId

the OpenAI workload identity provider (OPENAI_IDENTITY_PROVIDER_ID)

identityToken

where the identity token comes from; read afresh on each exchange

serviceAccountId

the OpenAI service account to act as (OPENAI_SERVICE_ACCOUNT_ID)

Attributes

Companion
object
Source
OpenAIWorkloadIdentity.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
OpenAIWorkloadIdentity.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product