diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-17 11:27:08 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-17 11:27:08 -0700 |
| commit | ccb3df41f84f2f484692654585e100cf54739c95 (patch) | |
| tree | d832fd86d481df56fcf10e232baac0b88a6282ef | |
| parent | e64339e8c0f8c713ec78e336cb6f333d5a27868f (diff) | |
| download | seaweedfs-ccb3df41f84f2f484692654585e100cf54739c95.tar.xz seaweedfs-ccb3df41f84f2f484692654585e100cf54739c95.zip | |
elide secret key
| -rw-r--r-- | weed/shell/command_remote_configure.go | 2 |
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, |
