How to version control config files pragmatically?

后端 未结 9 1125
日久生厌
日久生厌 2020-11-30 02:04

Suppose we have a config file with sensitive passwords. I\'d like to version control the whole project, including the config file as well, but I don\'t want to share my pass

9条回答
  •  春和景丽
    2020-11-30 02:20

    Have a separate file with ONLY the secrets in, that isn't under version control?

    Or ideally, do away with passwords entirely use openssh, or similar, and do public/private key authentication for each user.

提交回复
热议问题