Files
nats-server/server/configs/srv_a_bcrypt.conf
2017-04-20 16:55:44 -07:00

23 lines
357 B
Plaintext

# Copyright 2012-2016 Apcera Inc. All rights reserved.
# 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
}
}