开发者

Extract passwords from settings.py file

开发者 https://www.devze.com 2023-04-05 13:24 出处:网络
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

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

精彩评论

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

关注公众号