Re: Safe way to set keys, such as Stripe keys, in settings?

2020-01-15 Thread Bill Talcott
Yes, that's it. Thank you, Mohamed! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web

Safe way to set keys, such as Stripe keys, in settings?

2020-01-15 Thread Bill Talcott
Hello. This should be simple, but... I haven't found a good answer. I have the following setting in config.settings.base.py: STRIPE_TEST_PUBLIC_KEY = os.environ.get("STRIPE_TEST_PUBLIC_KEY", "") It works, but am I right to worry about exposing a secret key for payments in base.py? I've tried to