Hiding Secret Keys and Passwords in Python

Shivam Verma
Analytics Vidhya
Published in
3 min readMar 17, 2021

--

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.

--

--

Shivam Verma
Analytics Vidhya

SWE @Microsoft || Building @shop2app || prev intern @daveai, @plunes & @rivi || Interview Preparation with me at https://topmate.io/shivam_verma10