mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
feat: add userCredentials for nats (#19139)
This commit is contained in:
@@ -446,6 +446,10 @@ func SetNotifyNATS(s config.Config, natsName string, cfg target.NATSArgs) error
|
||||
Key: target.NATSUsername,
|
||||
Value: cfg.Username,
|
||||
},
|
||||
config.KV{
|
||||
Key: target.NATSUserCredentials,
|
||||
Value: cfg.UserCredentials,
|
||||
},
|
||||
config.KV{
|
||||
Key: target.NATSPassword,
|
||||
Value: cfg.Password,
|
||||
|
||||
Reference in New Issue
Block a user