Repository navigation
v0.9.0
Highlights
- Secured embedded bus — the embedded NATS server can now be exposed on the network with server-side TLS and mandatory nkey authentication (
[nats.security]). Absent, the server stays on127.0.0.1with no auth, exactly as before, and existing manifests are unaffected.- Least-privilege roles. Beyond a single shared identity (
nkey_seed), you can give the lord, thralls and operator their own nkey identities (lord_nkey/thrall_nkey/operator_nkey, mutually exclusive with the shared seed). The server enforces a role-scoped, deny-based permission set that makesaether._lord.>node-local by permission on a networked bus: a thrall cannot drive supervision or command siblings, an operator cannot forge control, only the lord has full rights. - Credential rotation without downtime. Renew a certificate or key by replacing the file in place and sending the process
SIGHUP; the server reloads via NATSReloadOptions. A TLS rotation keeps live connections up; an nkey rotation lets the new key in and the old one out.
- Least-privilege roles. Beyond a single shared identity (
Notes
- Opt-in and backwards-compatible: without
[nats.security], the embedded bus is the loopback, no-auth default; no wire (envelope) change; the SDKs are unchanged (they already read the injected credential paths). - Two honest limits (documented): the role permissions are deny-based (allow all, subtract the dangerous subjects, so JetStream and KV keep working — not a strict allow-list), and a single shared thrall identity does not isolate one thrall from another (the roles isolate the lord / thrall / operator boundaries).
- Rotating the lord's own key is better done with a restart; structural changes (a different
listen, the role set) need a restart. Mutual TLS remains an opt-in follow-up (see ROADMAP). - Reference manifest:
examples/counter/aether-secure-embedded.toml.
Full changelog: v0.8.0...v0.9.0