Redfish-Tacklebox icon indicating copy to clipboard operation
Redfish-Tacklebox copied to clipboard

Support alternative methods of supplying passwords

Open ryanbowen opened this issue 1 year ago • 1 comments

First off, thanks for the redfish_utilities library. It’s a great resource for seeing how you guys intend for the service to be consumed.

My one suggestion is that you allow alternative methods of passing passwords to the example scripts, preferably via a file, env var, or even interactively/stdin (bonus points for all three). My biggest pet peeve with tools like Lenovo’s OneCLI is the lack of support for passing passwords in a way that doesn’t leak them in plaintext to anyone that can run ps. Ipmitool supports both interactive and passing via a file, and Lenovo/IBM at least used to support the file-based approach with ASU before they managed to regress with OneCLI.

I’d be happy to work on a PR when I get some time if it’s something you’d be willing to support.

ryanbowen avatar Aug 28 '23 08:08 ryanbowen

Something like this has come to mind, and I'd be happy to see a PR made to allow for this.

mraineri avatar Aug 28 '23 12:08 mraineri