Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to config surveyor jetstream by use secret to js-user.creds #565

Open
Doslin opened this issue Sep 6, 2022 · 1 comment
Open

how to config surveyor jetstream by use secret to js-user.creds #565

Doslin opened this issue Sep 6, 2022 · 1 comment

Comments

@Doslin
Copy link

Doslin commented Sep 6, 2022

image

...
  credentials:
    secret:
      name: nats-sys-creds
      key: js-user.creds

  # Required for NATS mutual TLS
  # tls:
  #    secret:
  #      name: nats-client-tls
  #    ca: "ca.crt" # optional
  #    cert: "tls.crt"
  #    key: "tls.key"

  jetstream:
    enabled: true
    # accounts:
    # - name: test
    #   tls:
    #     secret:
    #       name: test-user-tls
    #     ca: "ca.crt" # optional
    #     cert: "tls.crt"
    #     key: "tls.key"
@mxchinegod
Copy link

Seconding this for leaf nodes. How do we use .creds files to authenticate to ngs? Cannot find any method of assigning volumes via secrets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants