开发者

Extract passwords from settings.py file

I would like to extract any sensi开发者_高级运维tive information from my settings.py file, for example, db name/password, amazon key/password, api keys/passwords. What is the suggested way to go about doing this.


Move all the keys, passwords, etc. to a file secrets.py, then add import secrets to settings.py.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜