Configure File System Connector > Encrypt Passwords > Encrypt a Password

Encrypt a Password
To encrypt a password, follow these steps.
To encrypt a password
1.
Open a command-line window and change directory to the connector’s installation folder.
2.
autpassword -e -tEncryptionType [-oKeyFile] [-cFILE -sSECTION -pPARAMETER] PasswordString
where,
 
-tEncryptionType
*
AES encryption requires a key file. This option specifies the path and filename of a key file. The key file must contain 64 hexadecimal characters.
For example: -oKeyFile=./key.ky
(Optional) You can use these options to write the password directly into a configuration file. You must specify all three options.
*
-c. The configuration file in which to write the encrypted password.
*
-s. The name of the section in the configuration file in which to write the password.
*
-p. The name of the parameter in which to write the encrypted password.
For example:
autpassword -e -tBASIC MyPassword
autpassword -e -tAES -oKeyFile=./key.ky MyPassword
autpassword -e -tAES -oKeyFile=./key.ky -c./Config.cfg -sDefault -pPassword MyPassword
The password is returned, or written to the configuration file.