The storepasswords command prompts for passwords that are blank in a profile and stores the encrypted passwords in the file. Storing encrypted passwords might not be FIPS 140-2 compliant. You can run the command for a single task or for all tasks in the profile. The command name is not case sensitive.
The following syntax includes line breaks to format the command for reading. Enter the command and options on a single line, without any line breaks.
configmgr_cl storepasswords [-task task_type | -taskfile task_file_name] -profile myprofile [-help]
Option | Configuration file | Description |
---|---|---|
omitted | applicationserver.xml configurebootstrap.xml configurebootstrap.n.xml configurejdbcgcd.xml configurejdbcos.xml configurejdbcos.n.xml configureldap.xml configureldap.n.xml deployapplication.xml Where n is an integer starting with 2 |
If you omit the -task task_type parameter and the -taskfile task_file_name parameter, then you are prompted to enter the passwords for each configuration XML file in the profile. Each password is encrypted before it is added to the XML file. |
configurebootstrap | configurebootstrap.xml configurebootstrap.n.xml, where n is an integer starting with 2 |
Encrypts the password for the BootstrapPassword property
that is used to create the Global Configuration Data and to start Content Engine. If you have more than one configurebootstrap.n.xml file, run the command for each task file. |
configurejdbcgcd | configurejdbcgcd.xml |
Encrypts the password for the DatabasePassword property that Content Engine uses to access the GCD database. |
configurejdbcos | configurejdbcos.xml configurejdbcos.n.xml, where n is an integer starting with 2 |
Encrypts the password for the DatabasePassword property that Content Engine uses to access the object store database. If you have more than one configurejdbcos.n.xml file, run the command for each task file. |
configureldap | configureldap.xml configureldap.n.xml, where n is an integer starting with 2 |
Encrypts the password for the LDAPBindPassword property that Content Engine uses to connect to the directory server for authenticating Content Engine users. (WebSphere® Application Server or Oracle WebLogic Server only.) If you have more than one configureldap.n.xml file, run the command for each task file. |
If only one task file exists for the task_type, then the -taskfile task_file_name parameter is optional.
If more than one task file for the task_type exists, then you must include the -taskfile task_file_name parameter. You can omit the -task task_type parameter when you specify the -taskfile task_file_name parameter.
configmgr_cl storepasswords -profile wstdb2jdbc_one
configmgr_cl storepasswords -taskfile configurejdbcos.2.xml -profile wstdb2jdbc_many
configmgr_cl storepasswords -help