# opaque_secret

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_proxy_config/opaque_secret)

Provide a write-only secret value for a proxy configuration.

The value is sent when creating or updating the sandbox proxy config, but
LangSmith stores it as an opaque secret and does not return it from the API.

## Signature

```python
opaque_secret(
    value: str,
) -> SandboxProxySecret
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/sandbox/_proxy_config.py#L66)