LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypessandbox_responseProxyConfigRuleAzureSandboxesProxyAzureWorkloadIdentityConfig
Class●Since v0.14

ProxyConfigRuleAzureSandboxesProxyAzureWorkloadIdentityConfig

Copy
ProxyConfigRuleAzureSandboxesProxyAzureWorkloadIdentityConfig()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_configAmodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

View source on GitHub
Mto_json
—

Return the report as a JSON-serializable dict (raw JSON shape).

Mconstruct
Mmodel_dump
—

Dump the feedback, including its address.

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
attribute
client_id: str
attribute
tenant_id: str
attribute
resources: Optional[List[Literal['https://storage.azure.com', 'https://vault.azure.net', 'https://management.azure.com', 'https://cognitiveservices.azure.com']]]
attribute
subject_scope: Optional[str]

ClientID is the application (client) ID, a GUID, of the app registration or user-assigned managed identity whose federated identity credential trusts LangSmith's issuer. Required with tenant_id.

TenantID is the Entra tenant (directory) ID, a GUID.

Setting it selects workload identity: LangSmith signs an OIDC token for this workspace and exchanges it at Entra ID for access tokens of client_id, so no secret is stored. Cannot be changed after creation.

Resources narrows the Entra resources access tokens are obtained for, from https://storage.azure.com, https://vault.azure.net, https://management.azure.com and https://cognitiveservices.azure.com. Defaults to all of them. Only valid with tenant_id.

SubjectScope picks the token subject the federated credential trusts: "workspace" (the default) or "tag:", which must be one of the sandbox's tag_value_ids. Only valid with tenant_id.