Fast hot fix before rework of auth scheme

This commit is contained in:
Pavel Korotkov 2020-07-24 17:03:02 +03:00
parent 04dbe30f49
commit f6aeb06ee9
3 changed files with 69 additions and 53 deletions

View file

@ -140,7 +140,7 @@ func newApp(l *zap.Logger, v *viper.Viper) *App {
} else if err = os.Setenv(config.EnvSecretKey, wif); err != nil {
l.Fatal("could not set "+config.EnvSecretKey, zap.Error(err))
}
l.Info("used credentials", zap.String("AccessKey", uid.String()), zap.String("SecretKey", wif))
l.Info("gate neofs credentials", zap.String("OwnerID", uid.String()), zap.String("WIF", wif))
}
if obj, err = layer.NewLayer(l, cli, center); err != nil {