The PropFilePasswordEncoder script

Use the PropFilePasswordEncoder script to encode passwords in properties files.

Product

This script is available in WebSphere Application Server and WebSphere Application Server Network Deployment.

Authority

To run this script, your user profile must have *ALLOBJ authority.

Syntax

PropFilePasswordEncoder fileName { passwordPropertiesList
  | -SAS } [ -profileName profile ] [ -help | -? ]

Note: You must specify either the passwordPropertiesList parameter or the -SAS parameter.

Parameters

Examples

In these examples:

This command encodes the passwords in the sas.client.props file for the default WebSphere Application Server profile:

install_root/bin/PropFilePasswordEncoder   user_root/default/properties/sas.client.props -SAS

This command encodes passwords in the soap.client.props file for the default Websphere Application Server profile:

install_root/bin/PropFilePasswordEncoder   user_root/default/properties/soap.client.props   com.ibm.SOAP.loginPassword,com.ibm.ssl.keyStorePassword,com.ibm.ssl.trustStorePassword

Note: These commands are wrapped for display purposes. When you run the PropFilePasswordEncoder script, enter the command as a single line.