Initial import of verae-nats-accounts from zapier monorepo
This commit is contained in:
commit
2923ba70e6
7 changed files with 103 additions and 0 deletions
21
nats.conf
Normal file
21
nats.conf
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue