Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Scripting Deployment : Working with Passwords

Working with Passwords
Each action specified using the AppManage utility requires a password to access the administration domain where the action will be executed. You can specify the password using clear text or an encrypted key. The -pw option always takes a clear text password. The -cred option takes the name and location of a property file containing username and encrypted password. If the -cred option is used, the -user and-pw options should not be used.
A credentials file contains an administration domain user’s name and encrypted password. The obfuscate utility is used to create the encrypted password. For example, a credentials text file containing the user name john and encrypted password jH86n0ty is created as follows.
1.
user=john
pw=#!jH86n0ty
2.
Save the file and invoke the obfuscate utility giving the file as input. The utility is in TIBCO_HOME/tra/version/bin. (Refer to TIBCO Runtime Agent Installation for more information about Obfuscate Utility.)
3.
When invoking an AppManage option, use the -cred option to specify the name and location of the property file.
   AppManage -upload -ear c:\ears\timer_wait.ear -cred
   c:\ears\psswd\tp001Psw.txt -domain tp001
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved