This repository was archived by the owner on Apr 28, 2018. It is now read-only.
This repository was archived by the owner on Apr 28, 2018. It is now read-only.
Need cmdlet to generate Docker.DotNet.Models.AuthConfig object #123
Open
Description
Currently I need to instantiate an AuthConfig object myself and then specify username and password.
$DockerAuth = [Docker.DotNet.Models.AuthConfig]::new()
$DockerAuth.Username = 'bgelens'
$DockerAuth.Password = 'mypassword'
Normally in the PowerShell world, there would be a wrapper cmdlet which would instantiate the object for me. Cmdlets are easier to discover for most users.
The class has no constructors. It would be nicer (in the current context) to have a constructor so we can pass in a pscredential or username and password during instantiation.