verae-nats-accounts/nats.conf

21 lines
578 B
Text

# Lab accounts sketch. Loopback only. Do not publish 4222.
# INTERNAL: middleware, account-balance, authz, identity.
# LEAF: access-leaf and remote leaf nodes — no billing.
listen: 127.0.0.1:4222
http: 127.0.0.1:8222
jetstream {}
accounts {
INTERNAL {
users = [ { user: internal, password: internal-dev } ]
jetstream: enabled
}
LEAF {
users = [ { user: leaf, password: leaf-dev } ]
exports = []
imports = []
}
}
# Subject restrictions for LEAF are enforced in policy.json + access-leaf
# until this nats-server is started with full auth callout.