Skip to content

Lamassu is an IoT first PKI designed for industrial scenarios. This is the main code repository for Lamassu IoT where the product logic is being implemented. If you are looking for deployment instructions, please check the docs or the project's helm chart repository.

License

Notifications You must be signed in to change notification settings

lamassuiot/lamassuiot

Lamassu IoT

codecov

Lamassu App

Lamassu IoT is an IoT-first public key infrastructure (PKI) platform built for industrial environments, enabling secure device identities, automated certificate lifecycles, and integration with cloud and edge ecosystems. This repository hosts the source code, infrastructure components, and SDKs that power Lamassu deployments.

dashboard

Why Lamassu IoT?

  • Industrial-grade security – Hardened crypto engines, hardware-backed key storage, and auditable certificate workflows.
  • Cloud & edge ready – Pluggable storage, event bus, and crypto layers support AWS, Vault, on-premises, and hybrid setups.
  • Operational automation – Device onboarding, policy management, and renewal flows designed for large IoT fleets.
  • Developer friendly – SDKs, connectors, and well-defined APIs accelerate integrations with existing platforms.

Codebase organization

There are 3 main repositories to consider when developing Lamassu

  • Backend: This repository (lamassuiot/lamassuiot) - Core services, APIs, domain logic and SDKs components
  • Dashboard: lamassuiot/lamassu-ui - React-based web interface for managing CAs, certificates, devices, and system configuration
  • Helm Charts: lamassuiot/lamassu-helm - Kubernetes deployment manifests and Helm charts for production environments

Repository layout

Path Description
backend/ Domain services (CA, device manager, alerts, etc.) powering Lamassu IoT.
connectors/ Integrations with cloud providers (e.g., AWS IoT) and external systems.
core/ Shared business logic, domain models, and cross-service utilities.
engines/ Modular crypto, storage, filesystem, and event bus adapters.
monolithic/ Monolithic build option for simplified deployments and demos.
sdk/ Language-specific tooling for interacting with Lamassu APIs and services.
shared/ Common libraries for HTTP, AWS helpers, and subsystem orchestration.
ci/ Continuous integration workflows and automation scripts.

Getting started

Prerequisites

  • Go 1.24+
  • Docker (for running dependencies such as PostgreSQL, Vault, or message brokers)
  • Kubernetes cluster (optional, recommended for production deployments)

Clone & bootstrap

# Clone the repository
 git clone https://github.com/lamassuiot/lamassuiot.git
 cd lamassuiot

# Synchronize go.work modules and tidy dependencies
 go work sync
 go mod tidy -e ./...

# Run the full test suite
 go test ./...

Tip: The repository uses a Go workspaces file (go.work) to orchestrate the multiple modules located under backend, connectors, core, engines, sdk, and shared.

Running services locally - Development

Running all Lamassu Services all-in-one is as easy as running the following command. Bear in mind that docker is a requirement. The monolithic launcher runs and configures the required infrastructure (i.e. postgres, rabbitmq) as docker containers. To run it, exec the command:

go run ./monolithic/cmd/development/main.go

Once the app is ready the following logs will appear:

monolithic log

The UI and API is now being served at (to access the API, add /api to the URL path):

http://localhost:8080
https://localhost:8443

For production deployments and Helm charts, refer to the official documentation.

Contributing

We welcome community contributions! To get started:

  1. Review the CONTRIBUTING.md guidelines.
  2. Open an issue describing your proposal or bug report.
  3. Submit a pull request with a focused change set and accompanying tests.

Please adhere to our coding standards, commit conventions, and security practices outlined in SECURITY.md.

Support & community

License

This project is licensed under the Mozilla Public License Version 2.0.

About

Lamassu is an IoT first PKI designed for industrial scenarios. This is the main code repository for Lamassu IoT where the product logic is being implemented. If you are looking for deployment instructions, please check the docs or the project's helm chart repository.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors 15

Languages