Junior dev: "I pushed the .env too, you can test it now."
@sreenandhanpp2.9K followers
909,490 views
23 Comments
Comments from the original post on X (Twitter)

@jdmji
Because you don't want a rogue employee with production key access? Or am I missing something here?
25 likes

@OracleOfOlari
Theo is a junior dev to be fair
7 likes

@bizfactory_ceo
He is such a moron…
7 likes

@UddipanBarman
Theo is right here. Just because something works doesn’t mean it’s the best solution. We need to keep exploring new ideas and coming up with better solutions.
5 likes

@thepythno
ugh, that clown again.
4 likes

@5_comma_club
I've always thought about it... its so retarded that projects can't exist as a whole on github... even if it is a private repo. I'm always copying my final .env file from servers into my local storage to safekeep
3 likes

@hdd_edy
You can send the env file in git that's fine. But production env values should be only on the server. Not all the devs should be allowed to have access to production env values
3 likes

@JaniBangiev
Well to be completely honest we just encrypt the .env files and commit them now...
2 likes

@thec0d3r94
I'm pretty dumb myself but I'm going to assume that having secrets on .env file on a production server is a security risk in general unless it's really locked down. I thought that secrets should be stored in a secrets manager like vault or on k8s secrets.
1 like

@tan_guven_
It doesn’t matter whether what you’re saying is correct or even makes sense. The less you know, the more confidently you speak. After all, ignorance is bliss.
1 like

@hishahidullah
He was unpaid intern
1 like

@DoctorLex
he's right, you shouldn't use .env files at all
1 like

@sachinmour
that's what happens when you get success and let it get to your head and lose grip on reality.
1 like

@umutkarakoc
he has mental illness
1 like

@JHenpex
thats why we have sops

@nickstewart_
Is he making a bigger deal out of this than is necessary? Never thought of env as a git issue

@shidumiro
@grok is the .env still critical. Do people use secret managers?

@tomoglava
Few weeks ago I got bunch of great answers on this topic on reddit:

@easonwong_de
It’s the manager’s fault for not “managing” the keys correctly, right?

@ndgo1370
He’s not saying what you think he’s saying



