How can I save my secret keys and password securely in my version control system?

前端 未结 17 1774
生来不讨喜
生来不讨喜 2020-11-29 14:49

I keep important settings like the hostnames and ports of development and production servers in my version control system. But I know that it\'s bad practice to kee

17条回答
  •  清歌不尽
    2020-11-29 15:25

    An option would be to put project-bound credentials into an encrypted container (TrueCrypt or Keepass) and push it.

    Update as answer from my comment below:

    Interesting question btw. I just found this: github.com/shadowhand/git-encrypt which looks very promising for automatic encryption

提交回复
热议问题