Page 1 of 1

Can anyone tell me how to get around having the password clear text?

Posted: Thu May 15, 2025 8:03 am
by Doperelpland
I just got a trial set up of VSAN with the help of a StarWInd support person. So far so good but I'm concerned that the root password for our ESX host machines was entered clear text into hba_rescan.ps1. Can anyone tell me how to get around having the password clear text?

The support person said he did not know of a way to do this.

Re: Can anyone tell me how to get around having the password clear text?

Posted: Thu May 15, 2025 12:47 pm
by yaroslav (staff)
Thanks for pointing this out.
This is a known issue, we are working on encrypting it in future builds.

Re: Can anyone tell me how to get around having the password clear text?

Posted: Wed Jun 18, 2025 9:22 am
by abidingcumin
I'm also interested in a more secure way to handle credentials for these types of scripts. In the meantime, has anyone tried using `Get-Credential` or securely storing credentials and retrieving them in a PowerShell script?

Re: Can anyone tell me how to get around having the password clear text?

Posted: Wed Jun 18, 2025 9:25 am
by yaroslav (staff)