OpenAIWorkloadIdentity

org.llm4s.llmconnect.config.OpenAIWorkloadIdentity
See theOpenAIWorkloadIdentity companion object
@Experimental
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
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
def withClientId(clientId: String): OpenAIWorkloadIdentity
def withClientId(clientId: Option[String]): OpenAIWorkloadIdentity
def withIdentityProviderId(identityProviderId: String): OpenAIWorkloadIdentity
def withServiceAccountId(serviceAccountId: String): OpenAIWorkloadIdentity

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product