Where to store payment gateway secret key when using python Django with apache server?
I don't what to store in settings.py as i will checking this file in my git.
Can i do it the same way amazon store AWS ec2 keys. If possible how to do it.
您可以在环境变量中设置秘密,并以python password = os.getenv('ENVNAME')
在python代码中获取它们。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.