Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Alteryx Worker User Settings

gonzalocasal
5 - Atom

Hi all, Im trying to make a script to set my alteryx configuration and i need to specify the worker user and password but i notice that this is encrypted in the

RuntimeSettings.xml. So there is a way to encrypt and paste the pass in the xml? wich algorythm is used to encrypt thiis?



<ExecuteDomain>TEST</ExecuteDomain>
<ExecutePasswordEncrypted>201000000ASDASDD08C9DDF0115D1118C7 ...</ExecutePasswordEncrypted>
<ExecuteUserName>ADMIN</ExecuteUserName>
<StagingPath>C:\ProgramData\Alteryx\Service\Staging</StagingPath>

 

Thanks in advance . Gonzalo

1 REPLY 1
KevinP
Alteryx Alumni (Retired)

@gonzalocasal At this time we do not have a standalone tool or script available that can hash passwords for this purpose, and there isn't any public documentation regarding the methodology used to encode these passwords. The best/easiest option is to take an existing hash from a current configuration file where you know what the password is and use that already hashed password in your script. This option would only really be helpful for deploying the config files with the same username and password though.

 

If each config file will have a unique user the best alternative would be not to set the password when generating the file. Then after you apply the configuration file you would need to either run the Alteryx System Settings to set the correct password, or if the configuration is for Designer with Scheduler (admin install) or Alteryx Server you could update these credentials using the AlteryxService from a command line.

 

"C:\Program Files\Alteryx\bin\AlteryxService.exe" --setexecuteuser=username,domain,password

Please note that this command must be run with admin rights on the workstation/server in question in order to properly update the password.