zVMPassword

The zVMPassword task encrypts a plain-text password. The result of the zVMPassword task can be specified for zVMImport, zVMFetch, and zVMStore password attributes.

The following table describes standard zVMPassword attributes.

Attribute Description Required
failOnError If the value is true (the default), the task fails if it encounters an error. If the value is false, some errors are ignored and the task is completed. No
failproperty Name of the ant property in which to store the result of the task. If the task is successful, the specified property will be set to true. If the task fails, the specified property will be set to false. If failOnError is set to true, this option has no effect. No
reportError If the value is true (the default) and failOnError is set to false, an informational message is written to the log when an error is encountered which includes the error message text. If the value is false, no message is written to the log when an error is encountered. If failOnError is set to true, this option has no effect. No
reportTrace If the value is true and reportError is true and failOnError is false, the stack trace for the error is written to the log. If the value is false (the default), the stack trace for the error is not written to the log. If failOnError is set to true, or if reportError is set to false, this option has no effect. No

The following table describes task specific attributes of zVMPassword.

Attribute Description Required
password Plain-text password to encrypt. Yes

Example

Encrypt a password

<?xml version="1.0" encoding="UTF-8"?> 
<project name="zVMPassword" default="main" xmlns:es="antlib:com.ibm.team.enterprise.smpe.toolkit">          

			<target name="main" description="main">         
						<es:zVMPassword             
										password="password"         
						/>     
			</target>      

</project>

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki