andreantonacci / everynoise_scraper

Two webscrapers to collect data from everynoise.com
4 stars 2 forks source link

storing secret login credentials #3

Open hannesdatta opened 5 years ago

hannesdatta commented 5 years ago

a project frequently entails loading login credentials such as for S3 or for the API login credentials, or for login credentials of a website. can you think of a way in which to store these credentials without sharing them publicly on the github repository, for instance in the case that we want to make this repository public? What I currently do in my projects is that I have a keys.json file, which I then access in my scripts. But not sure this is best practice. Any inspiration?

andreantonacci commented 5 years ago

I would keep those in a separate csv or txt files that only authorized people have access to. Anyway, in this project, there are no credentials to store secretly up to now.