After upgrade from Vault Standard to Professional 5.1.2 (19283) GET command of vault.exe fails if you don't specify credentials and host with the following error message:
<vault>
<error>
<exception>VaultClientIntegrationLib.UsageException: Please specify -user, -password, and -host.
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)</exception>
</error>
<result>
<success>False</success>
</result>
</vault>
How can you make it work in Professional without specifying credentials and host?
VaultGUIClient.exe is configured to automatically connect to server using saved profile just like it was in Standard edition.
Vault.exe GET fails when credentials and host is missing
Re: Vault.exe GET fails when credentials and host is missing
You can use Rememberlogin to set the login credentials. This creates an encrypted file in the VaultPro local cache folder with connection info. You probably used that before, but need to create a new one for Vault Pro, since it has a different cache folder.
usage: vault.exe REMEMBERLOGIN [options]
REMEMBERLOGIN will store server, repository and authentication information
on the local host so that it does not need to be reentered.
Server and authentication information is specified by:
-host host
Hostname of the server to connect to. Can also use "-server".
-ssl
Enables SSL for server connection.
-user username
Username to use when connecting to server.
-password password
Password to use when connecting to server.
This is a list of possible options:
-repository repositoryname
Repository to connect to.
usage: vault.exe REMEMBERLOGIN [options]
REMEMBERLOGIN will store server, repository and authentication information
on the local host so that it does not need to be reentered.
Server and authentication information is specified by:
-host host
Hostname of the server to connect to. Can also use "-server".
-ssl
Enables SSL for server connection.
-user username
Username to use when connecting to server.
-password password
Password to use when connecting to server.
This is a list of possible options:
-repository repositoryname
Repository to connect to.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager