Закрыть внешний вход TLS и выдавать секреты через OpenBao.

LB ходит в API только с клиентским сертификатом нужной identity, остальные связи проверяют серверный сертификат, root token в приложение не попадает.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-26 19:48:38 +03:00
co-authored by Cursor
parent fb566d874c
commit 9b501b2020
33 changed files with 1243 additions and 221 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu
python -m app.main &
app_pid=$!
python -m app.tls_proxy &
proxy_pid=$!
while kill -0 "$app_pid" 2>/dev/null && kill -0 "$proxy_pid" 2>/dev/null; do
sleep 1
done
kill "$app_pid" "$proxy_pid" 2>/dev/null || true
wait || true
exit 1