Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Expose additional WinRM options for transport, basic auth, and SSPI #3669
I'm all for making it easier to use transports in the real world, with the settings needed to do so. However, I think we need to think carefully about how we go about this: we already have a proliferation of options.
#3661 proposes using the configuration file to store credential sets - allowing transports to have extensive options and arguments. With #3661, you could have multiple credentials for different winrm targets, with each configured as it needs. Adding new options to that would be a non-event; InSpec would simply pass all information along to Train.
However, that's not convenient for more casual use. Command line args are really what's wanted. We face a few challenges:
The second point is a long-term problem - winrm is part of core Train for today, and we can bear some overtight coupling on that.
For the first issue, I propose that we prefix all winrm options with
Obviously, a similar approach could be taken for other transports that expose options (most egregiously SSH).