feat: support nats nkey seed auth (#21231)

This commit is contained in:
Matt Lloyd
2025-04-27 05:30:57 +01:00
committed by GitHub
parent f14198e3dc
commit 0e017ab071
5 changed files with 54 additions and 0 deletions

View File

@@ -462,6 +462,10 @@ func SetNotifyNATS(s config.Config, natsName string, cfg target.NATSArgs) error
Key: target.NATSToken,
Value: cfg.Token,
},
config.KV{
Key: target.NATSNKeySeed,
Value: cfg.NKeySeed,
},
config.KV{
Key: target.NATSCertAuthority,
Value: cfg.CertAuthority,