Project

lex-node

0.0
No release in over 3 years
Low commit activity in last 3 years
This lex is responsible for sending heartbeats, allowing for dynamic config, cluster secret, etc
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

lex-node

Node identity and cluster management for LegionIO. Handles heartbeat broadcasting, cluster secret exchange, Vault token management, and RSA public key distribution between nodes.

This is a core LEX installed by default with LegionIO.

Installation

Installed automatically as a dependency of legionio. To disable:

{
  "extensions": {
    "node": {
      "enabled": false
    }
  }
}

Functions

  • Beat - Periodic heartbeat broadcast to the cluster
  • Crypt - RSA keypair exchange: distribute and receive public keys and cluster secrets
  • Node - Dynamic configuration distribution across cluster nodes
  • Vault - Vault token lifecycle: request, receive, and push Vault tokens between nodes

How It Works

Each node periodically calls beat to broadcast its presence. On startup, nodes exchange RSA public keys, then use them to securely distribute the cluster shared secret (AES encryption key) and Vault tokens - all encrypted peer-to-peer so no secrets traverse the bus in plaintext.

Requirements

License

MIT