Hiding Secret Keys and Passwords in Python
Published in
3 min readMar 17, 2021
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.