11
Hiding secret info in Python using environment variables

Hiding secret info in Python using environment variables

5 years ago
Anonymous $fWzGa1uP8i

https://medium.com/dataseries/hiding-secret-info-in-python-using-environment-variables-a2bab182eea

Raivat ShahBlockedUnblockFollowFollowingApr 13A beginner’s key to secrecy…

If you’ve worked on software engineering or data science projects that require some form of API keys, you would’ve noticed a flaw in sharing the code online: the secret information will be out there for everyone to see and possibly misuse! A classic example is a pair of a username and a password for a database. We certainly don’t want that to leak. How do we prevent this?