aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_configure.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-17 11:27:08 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-17 11:27:08 -0700
commitccb3df41f84f2f484692654585e100cf54739c95 (patch)
treed832fd86d481df56fcf10e232baac0b88a6282ef /weed/shell/command_remote_configure.go
parente64339e8c0f8c713ec78e336cb6f333d5a27868f (diff)
downloadseaweedfs-ccb3df41f84f2f484692654585e100cf54739c95.tar.xz
seaweedfs-ccb3df41f84f2f484692654585e100cf54739c95.zip
elide secret key
Diffstat (limited to 'weed/shell/command_remote_configure.go')
-rw-r--r--weed/shell/command_remote_configure.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.go
index 7a9ad1f65..53c7ea65d 100644
--- a/weed/shell/command_remote_configure.go
+++ b/weed/shell/command_remote_configure.go
@@ -95,7 +95,7 @@ func (c *commandRemoteConfigure) listExistingRemoteStorages(commandEnv *CommandE
return fmt.Errorf("unmarshal %s/%s: %v", filer.DirectoryEtcRemote, entry.Name, err)
}
- conf.S3SecretKey = ""
+ conf.S3SecretKey = strings.Repeat("*", len(conf.S3SecretKey))
m := jsonpb.Marshaler{
EmitDefaults: false,