Problem:
I have passwords.py that I need to click on Heroku for my application to work, but I canβt pass it to the public git repository, because then someone can view my passwords.
Passwords are tokens / secert_key / other_api_keys so that my application can authenticate its requests to third-party apis. I store them in base64 encoding in passwords.py , but if I click on git encoded, it will be easy for anyone to see passwords using b64decode() .
How can I pull out my password file in Heroku without including it in my public git repository?
or
How can I safely store my passwords in my public git repository
What I tried:
git clicking a single file doesn't seem like a choice. Using any such method for encoding / decoding, passwords would give me a false sense of security. Any ideas on how to solve it? Thanks!
source share