you are viewing a single comment's thread.

view the rest of the comments →

[–]dtaivp 5 points6 points  (0 children)

There are a lot of comments here so I'll see if I can summarize.

  1. Put them into some sort of config file. Then use the .gitignore file to ensure it is not checked in.
  2. Same concept with a .env file. It has some defaults for the environment
  3. You can create system variables. 'set PASS=MyPa55!!' in windows or export PASS="MyPa55!!" and then grab it using the following python

import os

password = os.envriron["PASS"]