boris c93f0ccda6
Some checks failed
CI / Lint & Format (push) Successful in 4s
CI / Tests (Pytest + Alembic + Postgres) (push) Failing after 4m45s
CI / Docker Build (push) Has been skipped
Standardised Bases across models
2025-09-23 19:38:54 +01:00
2025-09-23 19:27:08 +01:00
2025-09-23 19:38:54 +01:00
2025-09-23 19:27:08 +01:00
2025-09-22 20:34:29 +01:00
2025-09-23 18:57:26 +01:00
2025-09-22 19:55:39 +01:00
2025-09-22 13:27:43 +00:00
2025-09-23 17:53:07 +00:00
2025-09-23 19:08:05 +01:00

Keywarden 🔑🛡️

A lightweight, self-hosted (Work-in-progress!) SSH key management and access auditing platform

Python FastAPI Postgres Docker License Build

Keywarden is a web-based service designed to simplify secure access to Linux servers. It provides a central place to manage SSH keys, enforce access policies, and monitor login activity — making it easier for sysadmins, homelabbers, and small teams to deploy access security without enterprise overhead.

(TBC) Features

  • User & Key Management: Upload, register, and manage SSH public keys with enforced algorithms and expiry policies.
  • Access Requests & Approvals: Users can request server access, with administrators able to approve/deny via a web dashboard.
  • Automated Key Deployment: Lightweight agent synchronises authorized_keys files on target servers in real time.
  • Access Auditing: Centralised logs of who accessed what, including successful and failed login attempts.
  • Dashboards & Reports: Visualise login activity and export compliance reports.
  • Lightweight & Self-hosted: Built with FastAPI, PostgreSQL, and Docker; easy to run in a homelab or small team environment.

🚀 Tech Stack

  • Backend: FastAPI (Python), SQLAlchemy
  • Database: PostgreSQL
  • Frontend: React (planned), Tailwind, served via Nginx
  • Agent: Python/Go (lightweight daemon for servers)
  • Deployment: Docker & Docker Compose

📚 Motivation

SSH is the backbone of secure remote administration, but poor key lifecycle management and lack of auditing create major risks. Enterprise tools like Teleport exist, but are often heavy and complex. Keywarden fills the gap by providing a focused, lightweight, and educational tool for secure SSH access control.

🛠️ Getting Started

There are currently no built artefacts for Keywarden as of 22/09/2025.

# clone the repository
git clone https://git.ntbx.io/boris/keywarden.git
cd keywarden

# start with docker-compose
docker compose build api
docker compose pull
docker compose up -d
Description
A lightweight, self-hosted SSH key management and access auditing platform
https://app.dev.ntbx.io
Readme AGPL-3.0 91 KiB
Languages
Python 92.8%
Dockerfile 7.2%