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.




Analytics Vidhya is a community of Analytics and Data Science professionals. We are building the next-gen data science ecosystem

Recommended from Medium

Bash your unproductive time! Or how to set up your terminal.


PicoCTF 2022: Keygenme writeup (reverse engineering)

Caching Overview

Start the Observability with OpenTelemetry

Dealing with Imposter Syndrome

The Kubernetes’ Open-Source Tools to Check out in 2022

The Benefits of Crodo over other IDO platforms

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
Shivam Verma

Shivam Verma

Computer Science Undergraduate @IIITD

More from Medium

Scheduling Python scripts through Windows Task Scheduler

Organizing Images in Windows Using Python

How to join Array/List of Chars/String Elements in Bash Shell Scripting and Python Scripting ?

Inserting Pandas DataFrames into IBM Db2 on Cloud using Python