I have the credentials either in the environment or a separate config file, and neither of them go into source control.
Having the credentials in the environment has the drawback of making them "easily" available to other processes of that user and thus, potentially other processes on that machine.
Having the credentials in a separate config file (think .netrc) has the drawback of having them on file at all. The advantage is that you can explicitly exclude that credentials file from the main repository and potentially keep the credentials file in another, "highly secure" repository.
In reply to Re: Passwords/passphrases in your Distributed Version Control System
by Corion
in thread Passwords/passphrases in your Distributed Version Control System
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |