mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-13 17:58:00 -07:00
20 lines
489 B
Plaintext
20 lines
489 B
Plaintext
# Copyright 2016 Apcera Inc. All rights reserved.
|
|
|
|
listen: 127.0.0.1:2442
|
|
|
|
authorization {
|
|
# Authorizations
|
|
include "auths.conf"
|
|
|
|
# Just foo for testing
|
|
PASS: $2a$10$UHR6GhotWhpLsKtVP0/i6.Nh9.fuY73cWjLoJjb2sKT8KISBcUW5q
|
|
|
|
# Users listed with permissions.
|
|
users = [
|
|
{user: alice, password: $PASS, permissions: $ADMIN}
|
|
{user: bob, password: $PASS, permissions: $REQUESTOR}
|
|
{user: bench, password: $PASS, permissions: $BENCH}
|
|
{user: joe, password: $PASS}
|
|
]
|
|
}
|