I am using python decouple to store the secret keys in .env files as follows
STRIPE_PUBLIC_KEY = \'pk_test_51Hk2oFpiiCn94MIdRGFuRL0UeK003HdDUOGI\' STRIPE_SECR