# Sharing env secrets with Claude Code ? — retained record

> Retained reddit record from reddit:ClaudeCode.

Canonical: https://highsignal.app/data/records/1a2936e1431bec52

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:ClaudeCode)  published 2026-10-21 01:25 ingested 2026-10-22 02:42

[original source ↗](https://www.reddit.com/r/ClaudeCode/comments/1xb9zvi/sharing_env_secrets_with_claude_code/)

## retained text



```
Do you guys share env secrets with Claude Code? Has there been any incident of unauthorized usage of env secrets that you shared with LLMs?

I see many people are building a harness where the secret gets stripped out (saved to its own secret managers) before reaching the LLM context, but I wonder if it's any useful.

Been letting my ai agents know all the env secrets & haven't seen any unauthorized usage myself.

Share your experience!
```



document fetched 2026-10-22 00:44 · canonical https://reddit.com/r/ClaudeCode/comments/1xb9zvi/sharing_env_secrets_with_claude_code
