nats-io / nack

NATS Controllers for Kubernetes (NACK)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend Nats auth to allow User Password option

anthonycorbacho opened this issue · comments

Hi,

I would like to know if it make sense to also allow passing User and Password as part of the auth option?
Currently only NKey file is allowed.

Try the below config

jetstream:
  nats:
     url: nats://<user>:<password>@<domain>:<port>

yeah, this is what I am doing for now, but because I am using customize, I am forced to inject the credential to avoid a leak in the repo.

Thanks @hhk7734 for the feedback 👍