ЛР7: TLS/mTLS по матрице доверия, OpenBao, Argon2id, ротация и отрицательные тесты

This commit is contained in:
LOSYASH
2026-12-02 23:53:37 +01:00
parent 20afc2c790
commit 8c991be7cf
105 changed files with 13881 additions and 106 deletions
+7
View File
@@ -0,0 +1,7 @@
@echo off
rem Failover hook (Windows): stop ONE api container whose short ID = TARGET_INSTANCE_ID.
if "%TARGET_INSTANCE_ID%"=="" exit /b 2
set CID=
for /f %%i in ('docker ps -q --filter "id=%TARGET_INSTANCE_ID%" --filter "label=com.docker.compose.service=api"') do set CID=%%i
if "%CID%"=="" exit /b 1
docker stop -t 8 %CID% >nul