org.llm4s.llmconnect.config.OpenAIWorkloadIdentity
See theOpenAIWorkloadIdentity companion object
@Experimental
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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article