Open Source · Self-Hosted · AES-256 Encrypted

Your keys. Your vault.
Your rules.

Stop scattering API keys across .env files and sticky notes. Keysmith is a self-hosted credential vault that encrypts everything with AES-256-GCM and keeps your secrets on your own server.

# Pull and run in 30 seconds
$ docker compose up -d

# Your vault is live at localhost:3456
$ curl -s http://localhost:3456/api/health
{"status":"healthy","version":"1.0.0"}

# Import existing .env files instantly
$ keysmith import --file .env --project "my-app"

Everything you need. Nothing you don't.

🔐

AES-256-GCM Encryption

Every secret is encrypted at rest with military-grade encryption. Unique IVs per record. Your keys never exist in plaintext on disk.

🏠

100% Self-Hosted

Runs on your server, your network, your rules. No cloud dependencies, no third-party access, no subscription fees. Ever.

📦

One-Click .env Import

Drop your existing .env files into Keysmith and it parses, encrypts, and organises every key-value pair automatically.

🛡️

TOTP Two-Factor Auth

Protect your vault with time-based one-time passwords. Works with Google Authenticator, Authy, or any TOTP app.

🤖

MCP Integration

Expose secrets to AI coding agents via Model Context Protocol. Let your tools access keys without hardcoding them.

Lightweight & Fast

SQLite-backed, no external database needed. Runs in a single Docker container using minimal resources. Starts in seconds.

Three steps to a secure vault

1

Deploy

Clone the repo and run docker compose up. That's it. No databases to configure, no external services.

2

Import

Drag in your .env files or create projects manually. Keysmith encrypts everything the moment it touches the vault.

3

Use

Access secrets via the web UI, CLI, or MCP protocol. Export back to .env anytime. Your workflow doesn't change.

Up and running in 60 seconds

# Clone the repo git clone https://github.com/nogento/keysmith.git cd keysmith # Configure your encryption key cp .env.example .env openssl rand -base64 32 >> .env # Launch docker compose up -d # Open https://localhost:3456 and create your admin account
AES-256-GCM + Argon2id
MIT Licensed
Zero Cloud Dependencies
CSRF + TOTP Protected

Stop trusting your secrets to .env files

Keysmith is free, open source, and ready to deploy in under a minute.