29 lines
1.3 KiB
Markdown
29 lines
1.3 KiB
Markdown
# Ротация секрета и leaf, отзыв, expiry и seal
|
|
|
|
Предпосылки: подготовленный, разблокированный учебный стенд; Docker Compose, Python и локальный CA.
|
|
|
|
`python3 scripts/check_grade4_lifecycle.py`
|
|
|
|
Код завершения: 0.
|
|
|
|
```text
|
|
Container highload-lab7-api-2 Recreate
|
|
Container highload-lab7-api-1 Recreate
|
|
Container highload-lab7-api-1 Recreated
|
|
Container highload-lab7-api-2 Recreated
|
|
Container highload-lab7-api-1 Starting
|
|
Container highload-lab7-api-1 Started
|
|
Container highload-lab7-api-2 Starting
|
|
Container highload-lab7-api-2 Started
|
|
OpenBao unsealed
|
|
PASS api: scoped read, cross-role login/read and write denied, TTL <= 900 s
|
|
PASS worker: scoped read, cross-role login/read and write denied, TTL <= 900 s
|
|
PASS dispatcher: scoped read, cross-role login/read and write denied, TTL <= 900 s
|
|
PASS cleanup: scoped read, cross-role login/read and write denied, TTL <= 900 s
|
|
PASS: replaced leaf, revoked old token, expired short-lived token
|
|
PASS: database secret rotated, old password refused, API ready without rebuilding
|
|
PASS: sealed OpenBao denies new login; running API remains ready using loaded credentials
|
|
```
|
|
|
|
Итог: все команды завершились успешно.
|