Analytics Vidhya
Published in

Analytics Vidhya

Hiding Secret Keys and Passwords in Python

Google Images

Whenever you upload your project or code on your GitHub containing some secret keys and passwords, and if that repo is public, remember that the users running the file will have at least read access to it and can easily grab the passwords. Always think about security very carefully, it’s important. E.g., you have to always hide your secret keys in a Django application, google OAuth credential keys or tokens, etc.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store