# OpenBao AppRole and policy verification

Date: 2026-11-26
Stand: local Docker Desktop, compose project hla-lab7, OpenBao initialized and unsealed

Command:
  powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\test-openbao-policies.ps1

Observed output:
  OpenBao policy checks passed: own path allowed; foreign path and policy changes denied.

Scope: `messenger-api` and `messenger-worker` AppRoles authenticate with separate RoleID/SecretID, read only their own KV v2 path, cannot read the other role's KV path, and cannot write an OpenBao policy.

No root token, SecretID, token or secret value is included.
