How can I use wsman for Linux without passing passwords in cleartext?

I am using libwsman / wsmancli and libcurl4-32bit to run wsman commands from a linux window against iDracs of some Dell boxes. I have, The problem I am facing is authentication requiring a password and username. It's okay if I use it from the command line; however I am using the dell python shell (basically just a wrapper for a subprocess), execute the commands in the script that I wrote. So, every instance where I run the command, I need to pass my password in clear text. Is there a way to get around this? The only alternative I can think of is adding a less privileged user to each of the iDracs; but that doesn't solve the underlying problem.

+3


source to share





All Articles