Specialized Administration > Configuring Your Windchill Environment > Configuring Password Management Options > System Password Encryption Options > Using the EncryptPasswords.xml Script > addValueToKeyStore Target
  
addValueToKeyStore Target
Encrypts the specified property with the specified password in the specified encryption keystore.
Using this target on a host where an out-of-process adapter has been installed allows you to encrypt and store passwords on that host. The password is initially entered on the Windchill host in the adapter form from within the Info*Engine Property Administrator. When the adapter is installed on a host different from the Windchill host, the password must also be encrypted and stored on the host where the adapter is installed.
* 
If the property exists in the named keystore, running this target replaces the existing keystore value of the named property.
To use this target, navigate to the directory where the EncryptPasswords.xml file resides on the host where you want to encrypt the password and enter an ant command with the following format:
ant -f EncryptPasswords.xml addValueToKeyStore
-DpropertyName=<property> -Dpassword=<password_value>
-Dwt.home=<Windchill_location>
where:
<property> is the name of the property used to set the password. For example, the JDBC adapter form sets a password property named passwd. Assume that the JDBC service is named JDBCadapter1. Then the password property is JDBCadapter1.passwd.
<password_value> is the plain-text password that was set in on the Windchill host.
<Windchill_location> is the directory path as designated in the following keystore path:
<Windchill_location>/bin/adminTools/sip
This entire path identifies the path to the keystore where the encrypted password is stored. For adapter passwords, enter the location where the files extracted from the IeAdapter.zip file reside.
For additional details on encrypting passwords for adapters, see the corresponding adapter guide or help topics.