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
Pythonlangsmithsandbox_proxy_configaws_auth
Function●Since v0.8

aws_auth

Copy
aws_auth(
  *,
  access_key_id: SandboxProxySecret,
  secret_access_key: SandboxProxySecret,
  name: str = 'aws'

Used in Docs

  • Sandbox auth proxy
View source on GitHub
,
enabled
:
bool
=
True
)
->
SandboxProxyRule

Build a sandbox proxy rule that signs AWS HTTPS requests.

The sandbox proxy keeps the real AWS credentials outside the sandbox and signs supported AWS requests with SigV4 on the sandbox's behalf. AWS credentials must be supplied as workspace_secret or opaque values; plaintext AWS credentials are intentionally not supported.