you are viewing a single comment's thread
view the rest of the comments
[–] 84 points 1 year ago (4 children)

I remember when a senior developer where i worked was tired of connecting to the servers to check its configuration, so they added a public facing rest endpoint that just dumped the entire active config, including credentials and secrets

That was a smaller slip-up than exposing a database like that (he just forgot that the config contained secrets) but still funny that it happened

  • source
  • hideshow 4 child comments
  • [–] 47 points 1 year ago (2 children)

    That's not a "senior developer." That's a developer that has just been around for too long.

    Secrets shouldn't be in configurations, and developers shouldn't be mucking around in production, nor with production data.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 15 points 1 year ago

    I would have put IP address access restrictions on that at the very least. I may have even done something like that more than once for various tools in the past.

    That way it acts completely open to people (or other servers) in the right places and denies all knowledge to anything else.

  • source
  • parent