Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
victorbuilds
· 1y ago · 0 comments
I keep them in env variables rather than files. Not 100% secure - technically Claude Code could still run printenv - but it's never tried. The main thing is it won't stumble into them while reading config files or grepping around.
Comments
[–]
63stack
1y ago
A process does not need to run printenv to see environment variables, they are literally part of the environment it runs in.
[–]
dist-epoch
1y ago
The LLM doesn't have direct access to the process env unless the harness forwards it (and it doesn't)