Mirariel/mtusi2026lab7:solution/bpi2303-martines
main
python scripts/bootstrap.py docker compose up -d --build --wait python tests/smoke.py --base-url https://127.0.0.1:8443 --ca-file certs/ca.crt python student-tests/security.py
????????? ??? ???????? ??????? ??????: docker compose down. ??? ??????????? ???????? ??????: docker compose down -v.
docker compose down
docker compose down -v
HAProxy ????????? ?????????? HTTPS ?? 8443 ? API-???? ??????? TLS client certificate. HAProxy ??????????? ????????? lb-client ??????????, ? API certificate verification ?????????? ????? CA. ?????? API-????? ?? ??????????? ?? host. PostgreSQL, Redis ? MinIO ?? ????????? data-????? ?? host. ??????????? ???????????? scripts/bootstrap.py ? SAN ? ???????? leaf TTL; ????????? ????? ???????????? Git. ??????? ??????? ????????? ? contracts/trust-matrix.md.
8443
lb-client
scripts/bootstrap.py
contracts/trust-matrix.md
OpenBao ??????????? server mode ? file-backed persistent volume, ??? dev-mode, ? ????? ????????? API/worker policies. ????????????? ? unseal ??????????? ?????????? ?? scripts/openbao-bootstrap.md; root token ? unseal keys ?? ???????? ? ?????????? ??? Git.
scripts/openbao-bootstrap.md
docker compose config --quiet
python -m compileall -q src scripts student-tests
python tests/smoke.py --base-url https://127.0.0.1:8443 --ca-file certs/ca.crt
PASS: lab7 public API scenario
python student-tests/security.py
python student-tests/mtls.py
docker compose up -d --build --wait
OpenBao init/unseal ? ?????? AppRole ???????? ???????????? ??????????, ?????? ??? root token ? unseal keys ?????? ???????????????? ? ???????????. ??? production ????? ???????? TLS listener OpenBao, ???????? ????????? CA ?? ??????????? PKI ? ?????????? API/worker ? AppRole ????? short-lived wrapped credentials. ??? ??????? ???? ???????, ? ?? ?????? ?? ??????? smoke-??????.
The workflow will only run after approval from the repository maintainer.
No dependencies set.
The note is not visible to the blocked user.
????? - ???????????? 7
??????
????????? ??? ???????? ??????? ??????:
docker compose down. ??? ??????????? ???????? ??????:docker compose down -v.??????????? ? ????????????
HAProxy ????????? ?????????? HTTPS ??
8443? API-???? ??????? TLS client certificate. HAProxy ??????????? ?????????lb-client??????????, ? API certificate verification ?????????? ????? CA. ?????? API-????? ?? ??????????? ?? host. PostgreSQL, Redis ? MinIO ?? ????????? data-????? ?? host. ??????????? ????????????scripts/bootstrap.py? SAN ? ???????? leaf TTL; ????????? ????? ???????????? Git. ??????? ??????? ????????? ?contracts/trust-matrix.md.OpenBao ??????????? server mode ? file-backed persistent volume, ??? dev-mode, ? ????? ????????? API/worker policies. ????????????? ? unseal ??????????? ?????????? ??
scripts/openbao-bootstrap.md; root token ? unseal keys ?? ???????? ? ?????????? ??? Git.??????????????
docker compose config --quietpython -m compileall -q src scripts student-testspython tests/smoke.py --base-url https://127.0.0.1:8443 --ca-file certs/ca.crtPASS: lab7 public API scenariopython student-tests/security.pypython student-tests/mtls.pydocker compose up -d --build --wait???????????
OpenBao init/unseal ? ?????? AppRole ???????? ???????????? ??????????, ?????? ??? root token ? unseal keys ?????? ???????????????? ? ???????????. ??? production ????? ???????? TLS listener OpenBao, ???????? ????????? CA ?? ??????????? PKI ? ?????????? API/worker ? AppRole ????? short-lived wrapped credentials. ??? ??????? ???? ???????, ? ?? ?????? ?? ??????? smoke-??????.
The workflow will only run after approval from the repository maintainer.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.