I don't want to store sensitive information (like passwords) in my code. On production we store the environment variables which contain these passwords. They are located in a protected area and all is well.
When you start putting these variables into PyCharms configurations then you have them stored in flat files. It's worse when you "share" the config b/c then you are effectively negating the whole purpose as these are plain text. Less concerning is that for each configuration these variables are repeated over and over. This means of course, for each configuration you will have your password replicated n times the number of configurations.
The question is how should this be handled? I thought that "Include Parent Environment Variables" would solve this but I can't figure out what is the parent is - assuming this means the parent process? If so then you're still out of luck as Mac has removed the user defined MacOS Environment plist.
Anyway does anyone have a clean way to use sensitive variables in PyCharm?
Please sign in to leave a comment.