Re: [Tutor] Storing passwords and version control

2018-05-27 Thread Steven D'Aprano
On Sun, May 27, 2018 at 09:08:29AM -0700, Pat Martin wrote: > The process I am currently thinking of using is having a separate file with > the username and password in it and just having that ignored by source > control. That of course doesn't solve the problem of the password sitting > in a file

Re: [Tutor] Storing passwords and version control

2018-05-27 Thread Danny Yoo
The recommendations in https://stackoverflow.com/questions/7014953/i-need-to-securely-store-a-username-and-password-in-python-what-are-my-options might apply. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://m

Re: [Tutor] Storing passwords and version control

2018-05-27 Thread Mats Wichmann
On 05/27/2018 11:08 AM, Alan Gauld via Tutor wrote: > On 27/05/18 17:21, Joel Goldstick wrote: >> On Sun, May 27, 2018 at 12:08 PM, Pat Martin wrote: >>> ... Since it will be a script I will be running >>> through cron I won't be able to type the password > >> You can set environment variables o

Re: [Tutor] Storing passwords and version control

2018-05-27 Thread Alan Gauld via Tutor
On 27/05/18 17:21, Joel Goldstick wrote: > On Sun, May 27, 2018 at 12:08 PM, Pat Martin wrote: >> ... Since it will be a script I will be running >> through cron I won't be able to type the password > You can set environment variables on the system that runs the script. EV was my initial though

Re: [Tutor] Storing passwords and version control

2018-05-27 Thread Joel Goldstick
On Sun, May 27, 2018 at 12:08 PM, Pat Martin wrote: > Hello all, > > I am writing a script that will be using an API to connect to some systems > to pull info for a search. Since it will be a script I will be running > through cron I won't be able to type the password at time of running. I > also

[Tutor] Storing passwords and version control

2018-05-27 Thread Pat Martin
Hello all, I am writing a script that will be using an API to connect to some systems to pull info for a search. Since it will be a script I will be running through cron I won't be able to type the password at time of running. I also am going to be putting this in source control, using git specifi