Skip navigation
Junior dev: "I pushed the .env too, you can test it now."
0:00 / 0:44

Junior dev: "I pushed the .env too, you can test it now."

Sreenandhan

@sreenandhanpp2.9K followers

Visit on X
2,782 likesDownloadOriginal post

909,490 views

Junior dev: "I pushed the .env too, you can test it now." Senior dev: "Why?" Junior dev:

23 Comments

Comments from the original post on X (Twitter)

  • J. Daniels's profile picture

    @jdmji

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

    25 likes

  • Oracle of Olari's profile picture

    @OracleOfOlari

    Theo is a junior dev to be fair

    7 likes

  • Vincent's profile picture

    @bizfactory_ceo

    He is such a moron…

    7 likes

  • Uddipan Barman's profile picture

    @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

  • Michael Eggers's profile picture

    @thepythno

    ugh, that clown again.

    4 likes

  • 5CommaClub's profile picture

    @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

  • Edy's profile picture

    @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

  • Term's profile picture

    @JaniBangiev

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

    2 likes

  • Rick's profile picture

    @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 Güven's profile picture

    @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

  • Md Shahidullah's profile picture

    @hishahidullah

    He was unpaid intern

    1 like

  • Lech Wilczyński's profile picture

    @DoctorLex

    he's right, you shouldn't use .env files at all

    1 like

  • Sachin Mour's profile picture

    @sachinmour

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

    1 like

  • Umut | wishlist Wizard Castle on Steam's profile picture

    @umutkarakoc

    he has mental illness

    1 like

  • JH's profile picture

    @JHenpex

    thats why we have sops

  • Nick Stewart's profile picture

    @nickstewart_

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

  • H4sh3's profile picture

    @shidumiro

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

  • tomoglava.eth's profile picture

    @tomoglava

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

  • Eason's profile picture

    @easonwong_de

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

  • ndgo - SHA256 Maximalist's profile picture

    @ndgo1370

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