feat(security): add scoped identities, TLS boundaries and OpenBao bootstrap
This commit is contained in:
@@ -31,3 +31,20 @@ test-failover:
|
||||
|
||||
test-security:
|
||||
$(PYTHON) tests/security.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
UV ?= uv
|
||||
CA_FILE = trust/ca.pem
|
||||
.PHONY: bootstrap up down lint unit test-student
|
||||
bootstrap:
|
||||
$(UV) run --locked python -m scripts.bootstrap_security
|
||||
up:
|
||||
$(UV) run --locked python -m scripts.up_security --build
|
||||
down:
|
||||
docker compose down
|
||||
lint:
|
||||
$(UV) run --locked ruff check src student-tests student-unit scripts --exclude scripts/check_contract.py --exclude scripts/validate_openapi.py
|
||||
$(UV) run --locked ruff format --check src student-tests student-unit scripts --exclude scripts/check_contract.py --exclude scripts/validate_openapi.py
|
||||
unit:
|
||||
$(UV) run --locked python -m pytest student-unit -q
|
||||
test-student:
|
||||
BASE_URL="$(BASE_URL)" CA_FILE="$(CA_FILE)" $(UV) run --locked python -m pytest student-tests
|
||||
|
||||
Reference in New Issue
Block a user