open-source standalone key box

A small box that locks API key access with a physical switch.

Standalone hardware and a physical switch block accidental or malicious agent access to API keys.

lan nokeyout box
device A codex device B opencode browser panel login gateway key :3425 magpie provider keys :22 ssh closed open :8443 panel closed open providers deepseek openai anthropic opencode
01

Three things the box does

Keys on the box
Provider keys live only on the device. Clients get gateway keys, revocable per machine.
Physical lock
The switch closes SSH and the panel. The gateway stays up for valid gateway keys.
Local screen
240x240: IP, lock state, usage, quota.
02

Install

Reference build: NanoPi NEO3 Plus. Any 256 MB ARM64 board runs it headless.

PartQtySpecCost
NanoPi NEO3 Plus1RK3528A · 1GB · GbE · eMMC/microSD · 26-pin header¥179 / $26.85
Slide switch12-position latching¥0.80 / $0.12
Jumper wires10female-female¥1.05 / $0.16
ST7789 display11.3 or 1.54 in · 240x240 · SPI · header pre-soldered¥24.70 / $3.71
USB-C power15V / 3A or more¥32.80 / $4.92
TF card1≥16GB · Class 10 or faster¥86.90 / $13.04
USB card reader1USB-A or USB-C—
Ethernet cable1100M or faster (Cat5 or better)—
Totalpriced parts only¥325.25 / $48.80

Reference prices, ¥1 = $0.15.