PDA

View Full Version : Storing encypted password on one step?


ChrisF
02-17-2010, 10:21 AM
I have a LOT of StarTeam steps in my script, which of course requires a username and a password. Anyway to store an encrypted password in one step, and then use it via %PASSWORD% where password is required for all the StarTeam steps?

kinook
02-17-2010, 10:27 AM
Put the password in an encrypted macro, then reference that macro in the password fields of each step.
http://www.kinook.com/VisBuildPro/Manual/macroproperties.htm

ChrisF
02-17-2010, 11:12 AM
I have VBPro 7.2, and when setting up a Set Macro step, I don't see an option to encrypt the value.

ChrisF
02-17-2010, 11:18 AM
I see it now. I go to the Macro tab and right-click it there.

kinook
02-17-2010, 11:22 AM
The Set Macro action doesn't currently support encrypting the value. Add the macro manually in the Macros pane, or use script like this in a Run Script action:

Application.Macros(vbldMacroTemporary).AddEx "PASSWORD", "password", , , , True

http://www.kinook.com/VisBuildPro/Manual/macrosaddexmethod.htm

kinook
03-11-2010, 09:20 AM
This is now supported in the Set Macro action in v7.5.
http://www.kinook.com/Forum/showthread.php?threadid=4415
http://www.kinook.com/VisBuildPro/Manual/setmacroaction.htm