Vault: CAVaultManager.exe SecureSecretFiles - processing special characters
137
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:58 PM
Symptom
Some special characters, such as '&' cannot be used in a shared secret such as RADIUS because of the manner in which the command line:
C:\Program Files (x86)\PrivateArk\Server>CAVaultManager.exe SecureSecretFiles /SecretType Radius /Secret XXXXXX& /SecuredFileName radiusauth.dat
This is because of the manner in which the command prompt is parsed.
Environment
9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5 Vault Server CAVaultmanager
Cause
This is because of the manner in which the command line is parsed.
Resolution
There are two options:
- Run "C:\Program Files (x86)\PrivateArk\Server>CAVaultManager.exe " without additional parameters. This will prompt the user for each of the elements: SecretType, Secret and SecuredFileName
- Enclose the password in quotation marks such as C:\Program Files (x86)\PrivateArk\Server>CAVaultManager.exe SecureSecretFiles /SecretType Radius /Secret "Cyber&ark123" /SecuredFileName radiusauth.dat