# 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-sdk/blob/33995e14a84c53b65b82482b3d2fe0624b379bda/python/langsmith/sandbox/_proxy_config.py#L54)