3 Replies Latest reply on Oct 5, 2016 12:44 PM by Santiago Sanchez

    tabcmd with password encrypted.

    kottursamy.shanmugaiah

      I am trying to login to tabcmd using the password file option. I am able to login with my password but it did not work when i try with the file. As I am trying to automate it for the daily refresh of data source extracts, I would like to encrypt the password.

       

      I created a text file and typed the password in the file and saved as pwd.txt, saved it in the same location as tabcmd and I tried calling it. I got the below error.

       

      Could any one guide me what's going wrong and how to correct it? How do I need to store/type the password in the file?

       

      Command prompt:

      C:\Program Files\Tableau\Tableau Server\9.3\extras\Command Line Utility>tabcmd login -s http://serverid/:8080 -u <userid> -p -file pwd.txt

      ===== Creating new session

      =====     Server:   http://serverid/:8080

      =====     Username: userid

      ===== Connecting to the server...

      ===== Signing in...

        *** Not authorized

      Invalid username or password. (errorCode=16)