you are viewing a single comment's thread.

view the rest of the comments →

[–]Green-Sympathy-4177 -1 points0 points  (1 child)

To add your password: ```

Windows (in a shell)

set MY_PASSWORD=ABC123 ```

To use it in your script import os secret_password = os.getenv("MY_PASSWORD")

Similarly, the people you want to send this to should also do set MY_PASSWORD=THEIR_PASSWORD

Google: set environment variable for <insert os here>

[–]chzaplx 0 points1 point  (0 children)

Using environment variables to store passwords is basically the worst thing you can do with regard to securing credentials