Hacker News new | ask | show | jobs
by gbear605 2780 days ago
Some code is a lot more valuable than other code. For example, token files for connecting to remote servers.
1 comments

There is no good reason for authentication secrets to be in your source tree though.

I’m not suggesting this is perfect in any case, but it would at least place an upper bound on whatever amount of IP leakage you think might happen.

But do you ever edit your authentication secrets in your text editor? I edit my .env file in vim all the time.