Never commit your API keys or other sensitive data to github again! Keep it neat and tidy by hiding your api key using one of these 2 methods. Both work and have their uses, but I'd lean towards using the .env file to store your own environment variables. It's easy to recreate this file on your server or anywhere else you need to run your project without having to change any code inside.
Support Me:
Patreon: / johnwatsonrooney (NEW)
Oxylabs: oxylabs.go2cloud.org/aff_c?of... - code JR15
Amazon UK: amzn.to/2OYuMwo
Hosting: Digital Ocean: m.do.co/c/c7c90f161ff6
Gear Used: jhnwr.com/gear/ (NEW)
-------------------------------------
Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases
-------------------------------------
Негізгі бет Ғылым және технология How to HIDE Your API Keys in Python Projects
Пікірлер: 72