DMTF / Redfish-Tacklebox

Python based utilities for performing common management operations with Redfish
Other
52 stars 25 forks source link

Support alternative methods of supplying passwords #130

Open ryanbowen opened 1 year ago

ryanbowen commented 1 year ago

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.

mraineri commented 1 year ago

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