TM1runTI using password file
Posted: Fri Jun 07, 2013 11:39 am
Hi guys,
I've been looking on this forum and elsewhere for a way to use TM1runTI in a batch file but instead of using the password in clear text I'm wanting to hide this password.
According to the example below which is a batch file running the TM1RunTI.exe function:
"c:\program files\ibm\cognos\tm1_64\bin64\tm1runti.exe" -process TIprocess1 t -server adminserverA -server server123 -user admin -pwd mypassword
Can I use a password file instead of the "mypassword" used above in clear text? I'm trying to avoid having this admin password in a batch file that is easy for others to open up and read. Note, the location of the batch file is accessible to other developers (it's not the users who I'm trying to hide this pwd from). We're using TM1 authentication so we need to authenticate our connections to the TM1 servers.
I've seen how TM1crypt.exe is used to create a password file and keyfile but my understanding is that this keyfile is used (in conjunction with the "outfile") to pass the encrypted password for the private key in an SSL session when connecting to the admin host. link to related article:
http://pic.dhe.ibm.com/infocenter/ctm1/ ... 208c6.html
The password used here appears to be the one used in protecting the private key in the SSL connection. Is there a way I can provide a password file (encrypted) for a particular username (using TM1 authentication) when using the TM1runTI.exe function in a batch file so that I don't have a password in plain text contained in the batch file?
thanks..
I've been looking on this forum and elsewhere for a way to use TM1runTI in a batch file but instead of using the password in clear text I'm wanting to hide this password.
According to the example below which is a batch file running the TM1RunTI.exe function:
"c:\program files\ibm\cognos\tm1_64\bin64\tm1runti.exe" -process TIprocess1 t -server adminserverA -server server123 -user admin -pwd mypassword
Can I use a password file instead of the "mypassword" used above in clear text? I'm trying to avoid having this admin password in a batch file that is easy for others to open up and read. Note, the location of the batch file is accessible to other developers (it's not the users who I'm trying to hide this pwd from). We're using TM1 authentication so we need to authenticate our connections to the TM1 servers.
I've seen how TM1crypt.exe is used to create a password file and keyfile but my understanding is that this keyfile is used (in conjunction with the "outfile") to pass the encrypted password for the private key in an SSL session when connecting to the admin host. link to related article:
http://pic.dhe.ibm.com/infocenter/ctm1/ ... 208c6.html
The password used here appears to be the one used in protecting the private key in the SSL connection. Is there a way I can provide a password file (encrypted) for a particular username (using TM1 authentication) when using the TM1runTI.exe function in a batch file so that I don't have a password in plain text contained in the batch file?
thanks..