Getting Started > Configure Digital Safe Connector > Encrypt Passwords

Encrypt Passwords
For added security, it is recommended all passwords be encrypted before they are entered into a configuration field. To encrypt passwords, follow the steps relevant to your operating system.
To encrypt passwords
1.
2.
autpassword -e -tEncryptionType [options] PasswordString
autpassword -d PasswordString
autpassword -x -tEncryptionType [options]
where,
 
*
You may use either form of encryption. However, AES is a more secure type of encryption than basic encryption.
Options can be one of the following:
*
-oOptionName=OptionValue. OptionName can be:
KeyFile. Specifies the path and filename of a keyfile. It should contain 64 hexadecimal characters. This option is only available with the AES encryption type and the -x option.
*
-c. The configuration filename in which to write the encrypted password. This option is only available with the -e argument.
*
-s. The name of the section in the configuration file in which to write the password. This option is only available with the -e argument.
*
-p. The parameter name in which to write the encrypted password. This option is only available with the -e argument.
When writing the password to a configuration file, you must specify all related options: -c, -s, and -p.
Example:
autpassword -e -tBASIC -c./Config.cfg -sDefault -pPassword passw0r
autpassword -d passw0r
autpassword -x -tAES -oKeyFile=./MyKeyFile.ky