Initial import of verae-nats-accounts from zapier monorepo

This commit is contained in:
George Lambert 2026-09-11 18:38:58 -04:00
commit e81002f4b6
7 changed files with 103 additions and 0 deletions

21
nats.conf Normal file
View file

@ -0,0 +1,21 @@
# 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.