How do you avoid storing passwords in version control?

后端 未结 6 1461
醉酒成梦
醉酒成梦 2020-12-09 09:24

What strategy do you use to avoid storing passwords in version control?

Currently, I have development/test/production passwords saved in three different files and th

6条回答
  •  [愿得一人]
    2020-12-09 10:19

    Put the passwords in o/s user environment variables.

    Only that user or root can read the value, same as a file, but with zero chance of it getting checked into source control.

提交回复
热议问题