Password in commandline

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
ragnar
Posts: 7
Joined: Mon Jun 11, 2012 5:13 am

Password in commandline

Post by ragnar » Mon Jun 11, 2012 5:38 am

As far as I can see you need to submit your password in clear text when working with the commandline tool. Is there any way around it?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Password in commandline

Post by Beth » Mon Jun 11, 2012 7:30 am

You could set up your Vault website to use an SSL certificate, then you are logging in, you would use the -ssl switch.
Beth Kieler
SourceGear Technical Support

ragnar
Posts: 7
Joined: Mon Jun 11, 2012 5:13 am

Re: Password in commandline

Post by ragnar » Mon Jun 11, 2012 7:38 am

Beth wrote:You could set up your Vault website to use an SSL certificate, then you are logging in, you would use the -ssl switch.
How would that work? Could you give me an example for a command line command?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Password in commandline

Post by Beth » Mon Jun 11, 2012 12:27 pm

All of what you enter in the command line would be the same, except adding the switch -ssl. When you have a certificate, it encrypts the communication so that the information that is transferred is encrypted. You would still actually enter your password in plain text, but it then shouldn't go across your network in plain text.

Here's a short article about what an SSL certificate is: https://www.globalsign.com/ssl-informat ... icate.html.

If you look in our Vault CLC help, http://download.sourcegear.com/misc/vau ... nt/clc.htm, and search for ssl, you will see that it's listed with the login information and that nothing else changes with the CLC but that one switch.

Setting up certificates on your website can take some time if you have no experience with them. You would either have to have your own Certificate Authority on your network, or you can purchase a 3rd party certificate to use.
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Password in commandline

Post by Beth » Tue Jun 12, 2012 7:59 am

Another idea that could make is so that you only have to enter a password once is to use the REMEMBERLOGIN command first. Rememberlogin creates an encrypted file on the CLC machine, so it's not readable.
Beth Kieler
SourceGear Technical Support

Post Reply