Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Passwords/passphrases in your Distributed Version Control System

by erix (Parson)
on Apr 01, 2019 at 09:49 UTC ( #1231939=note: print w/replies, xml ) Need Help??


in reply to Re: Passwords/passphrases in your Distributed Version Control System
in thread Passwords/passphrases in your Distributed Version Control System

Having the credentials in the environment has the drawback of making them "easily" available to other processes of that user

I set all test environment config in a dedicated test-xterm (with screen inside, so it can proliferate). Something like:

export FOO=foo export BAR=bar export PATH=whatever/bin:$HOME/bleadperl/bin:$PATH export PGPASSFILE=$HOME/.someplace/.pfile xterm -wf -geometry 200x50 +sb -u8 -fg white -bg black -e "screen -Um +-t '${screen_title}'" &

for instance test database passwords (low value) would be in a file pointed at by one of the env vars (Postgres uses PGPASSFILE).

  • Comment on Re^2: Passwords/passphrases in your Distributed Version Control System
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1231939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-11-20 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (100 votes). Check out past polls.

    Notices?