lab7: HTTPS+mTLS, OpenBao AppRole, Argon2id, rate limits, hardening

This commit is contained in:
2026-11-19 20:48:27 +03:00
parent 20afc2c790
commit 5e98b1b5af
67 changed files with 3169 additions and 87 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu
# Restart the stores and the OpenBao node. OpenBao comes back sealed, so the
# documented operator step is to re-run the bootstrap (idempotent unseal)
# before the API replicas need their secrets again.
docker compose --env-file .env restart postgres s3 broker openbao
if command -v py >/dev/null 2>&1; then
py -3 scripts/openbao_bootstrap.py
else
python scripts/openbao_bootstrap.py
fi
docker compose --env-file .env restart api1 api2 api-gw1 api-gw2 worker lb