From a8b149b406e9565067c1f281e86071942123163e Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Tue, 12 Feb 2019 09:53:38 -0500 Subject: --password-stdin flag in `podman login` Support --password-stdin flag, reads a password from STDIN and pass it to `podman login`. Signed-off-by: Qi Wang --- cmd/podman/cliconfig/config.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'cmd/podman/cliconfig') diff --git a/cmd/podman/cliconfig/config.go b/cmd/podman/cliconfig/config.go index b925d29ff..3d0413109 100644 --- a/cmd/podman/cliconfig/config.go +++ b/cmd/podman/cliconfig/config.go @@ -172,12 +172,13 @@ type LoadValues struct { type LoginValues struct { PodmanCommand - Password string - Username string - Authfile string - CertDir string - GetLogin bool - TlsVerify bool + Password string + StdinPassword bool + Username string + Authfile string + CertDir string + GetLogin bool + TlsVerify bool } type LogoutValues struct { -- cgit v1.2.3-54-g00ecf