Encrypting the config.yaml properties
This section describes how to encrypt the config.yaml properties for Linux -A and Windows.
Encrypting the config.yaml properties for Linux-A
Use these commands to encrypt config.yaml properties for Linux -A:
Link encryptproperty <property> <value>[<MKF key id>]
If the key
[<MKF key id>]
is not specified, encrypt the<value>
using the default key from the <DTXHOME>/config/configvar.mkf. If the file path forMKF
is not changed, where[<MKF key id>]
is an optional parameter. SeemasterKeyFile
property forMKF
file path in the server section of config.yaml.If you want to encrypt the password for mongo which is underauth
section, the command:./Link encryptproperty /mongo/auth/password <any password>
It updates the password property with the encrypted value of the password.
Link encryptproperty -inplace <property>[<MKF key id>]
If the key
[<MKF key id>]
is not specified, encrypt the<value>
using the default key from the <DTXHOME>/config/configvar.mkf. If the file path forMKF
is not changed, where[<MKF key id>]
is an optional parameter. SeemasterKeyFile
property forMKF
file path in the server section of config.yaml.If the
-inplace
command is specified, the value argument is not required, the current value of the<property>
will be encrypted../Link encryptproperty /mongo/auth/password
The current value of the password property will be encrypted.
Encrypting the config.yaml properties for Windows
If you want to encrypt the password for mongo which is under auth
section, run this command from <Link Installation
location>\DesignServer.
C:\HCL\Link_1.1.5\DesignServer>enctyptproperty.bat - inplace/mongo/auth/password