File: srv_a_bcrypt.conf

package info (click to toggle)
golang-github-nats-io-gnatsd 1.3.0%2Bgit20181112.3c52dc8-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,612 kB
  • sloc: sh: 33; makefile: 10
file content (20 lines) | stat: -rw-r--r-- 301 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Cluster Server A

listen: 127.0.0.1:7222

authorization {
  user: user
  password: foo
  timeout: 2
}

cluster {
  listen: 127.0.0.1:7244

  authorization {
    user: ruser
    # bcrypt version of 'bar'
    password: $2a$10$LoRPzN3GtF2pNX5QgCBBHeUr6/zVN./RVGOu5U8SpHyg2sfzvfXji
    timeout: 5
  }
}