Browse Source

elide secret key

pull/2271/head
Chris Lu 3 years ago
parent
commit
ccb3df41f8
  1. 2
      weed/shell/command_remote_configure.go

2
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,

Loading…
Cancel
Save