From 7e1255c3d66a1a04833f6a1a549b500a6645a28f Mon Sep 17 00:00:00 2001 From: "Hsing-Yu (David) Chen" Date: Tue, 6 Dec 2022 21:34:20 -0800 Subject: [PATCH] docs: document what AuthConfig.Auth is Signed-off-by: Hsing-Yu (David) Chen --- cli/config/types/authconfig.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/config/types/authconfig.go b/cli/config/types/authconfig.go index 056af6b84259..8f4f276ba05c 100644 --- a/cli/config/types/authconfig.go +++ b/cli/config/types/authconfig.go @@ -4,7 +4,8 @@ package types type AuthConfig struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` - Auth string `json:"auth,omitempty"` + // Auth is the base64 encoding of the concatenation of username and password. + Auth string `json:"auth,omitempty"` // Email is an optional value associated with the username. // This field is deprecated and will be removed in a later