Skip to Main Content
Spotfire Ideas Portal
Status Will not implement
Product Spotfire
Created by Guest
Created on Jan 14, 2019

Use the config command in Scheduled Tasks where the password is not given with the --tool- password switch

Automate the command 'show-library-permissions' via the Windows Task Scheduler. The file would need frequent updates to provide assistance to the Service Desk about the groups needed.

The password could be provided as an argument, but it would be in clear text and so, not recommended at all. Any way to hide the password like for the Automation Services configuration file?

Thank you for your consideration.

  • Attach files
  • Guest
    Reply
    |
    Feb 26, 2019

    There is a great article describing how you could avoid having clear text passwords in script files. It uses Powershell to create a key file(used to en and decrypt the password file) and a password file(stores the encrypted password) https://www.pdq.com/blog/secure-password-with-powershell-encrypting-credentials-part-1/ Make sure to read part2 as well https://www.pdq.com/blog/secure-password-with-powershell-encrypting-credentials-part-2/
    M
    ake sure to read the "Final notes" at the end of each page, as this explains what to expect in terms of security with this method.

    I'm personally using this method for my scripts that needs to run the config.bat command, and specify a tool password.

    I have attached a powershell script that shows how you can do an automated install of the Spotfire server, and it makes use this method to encrypt passwords so that they are not in clear text in the script.
    Open the attached .ps1 file in a text editor or in Powershell ISE too look at the code examples.