mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-13 17:58:00 -07:00
1. Accounts will show up in connection info if auth=1. 2. You can filter by user (?auth=1&user=ivan) or account (?auth=1&acc=eng) Signed-off-by: Derek Collison <derek@nats.io>
29 lines
478 B
Plaintext
29 lines
478 B
Plaintext
listen: 127.0.0.1:4033
|
|
http: 127.0.0.1:8033
|
|
|
|
password = "s3cr3t!"
|
|
|
|
accounts: {
|
|
|
|
engineering: {
|
|
users = [
|
|
{user: alice, password: $password}
|
|
{user: bob, password: $password}
|
|
]
|
|
}
|
|
|
|
legal: {
|
|
users = [
|
|
{user: john, password: $password}
|
|
{user: mary, password: $password}
|
|
]
|
|
}
|
|
|
|
finance: {
|
|
users = [
|
|
{user: peter, password: $password}
|
|
{user: paul, password: $password}
|
|
]
|
|
}
|
|
|
|
} |