LTPACommandGroup command group for the AdminTask object

You can use the Jython or Jacl scripting languages to import and export LTPA keys.

New feature New feature: Use the importLTPAKeys command to import an LTPA key from a file and add it to the security runtime and configuration. The exportLTPAKeys command exports an LTPA key that is currently being used by the runtime to a file.newfeat
The LTPACommandGroup command group for the AdminTask object includes the following commands:

importLTPAKeys

The importLTPAKeys command imports an LTPA key from a file and adds it to the security runtime and configuration. The command takes the key from the file specified and adds it to the ltpa.jceks keystore where LTPA keys are stored. The key then becomes the current LTPA key of the runtime.

Target object

None.

Required parameters

-ltpaKeyFile
Specifies the path to the file that contains the LTPA key that is to be imported into the configuration and runtime. The parameter takes the file path URL format or just the file path. (String, required)
-password
The password of the LTPA key. (String, required)

Optional parameters

None.

Batch mode example usage

exportLTPAKeys

The exportLTPAKeys command exports an LTPA key that is currently being used by the runtime to a file. If the file where the key is to be stored does not exist, it is created. If it does not exist, then the file is overwritten.

Target object

None.

Required parameters

-ltpaKeyFile
Specifies the path to the file that contains the LTPA key that is to be imported into the configuration and runtime. The parameter takes the file path URL format or just the file path. (String, required)
-password
The password of the LTPA key. (String, required)

Optional parameters

None.

Batch mode example usage




Related information
Commands for the AdminTask object using wsadmin scripting
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 6, 2014 8:11:25 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-mp&topic=rxml_8ltpacomm
File name: rxml_8ltpacomm.html