I'm thinking of use VMWare API Vix to manage VmWare operations. I've been checking documentation but all the scripts uses variables with the password in plain text.
I'm not feeling sure with this and I want to hash or protect this password without having then in plain text
Any ideas?
Since vmrun is command-line utility for VIX API, it requires plain text password. And your password will be visible on Console Application.
If you can use VixCOM you can protect the passwords before calling the operation. I have used this library in C# https://github.com/dblock/vmwaretasks and used 3DES to protect my passwords before calling individual operation.
One should try to avoid passing clear password and only decrypt it close to operation which requires it.