forked from mtusi2026/mtusi2026lab7
grade4
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
=== OpenBao Sealed Behavior Check (2026-11-24T21:42:17Z) ===
|
||||
|
||||
--- 1. Seal OpenBao ---
|
||||
Success! Vault is sealed.
|
||||
Initialized true
|
||||
Sealed true
|
||||
|
||||
--- 2. Attempt secret read while sealed (expected failure/sealed) ---
|
||||
Error making API request.
|
||||
|
||||
URL: GET https://127.0.0.1:8200/v1/sys/internal/ui/mounts/secret/messenger/api/db
|
||||
Code: 503. Errors:
|
||||
|
||||
* Vault is sealed
|
||||
|
||||
--- 3. Ingress readiness check while OpenBao is sealed ---
|
||||
{"status":"ok"}
|
||||
HTTP_CODE:200
|
||||
|
||||
--- 4. Unseal OpenBao ---
|
||||
Initialized true
|
||||
Sealed false
|
||||
|
||||
--- 5. Verify secret read & ingress readiness after unseal ---
|
||||
BAO_KV_GET_AFTER_UNSEAL=OK
|
||||
{"status":"ok"}
|
||||
HTTP_CODE:200
|
||||
Reference in New Issue
Block a user