elide secret key

This commit is contained in:
Chris Lu 2021-08-17 11:27:08 -07:00
parent e64339e8c0
commit ccb3df41f8

View file

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