Document OpenBao Browser CLI limits

This commit is contained in:
2026-06-28 09:18:36 +02:00
parent f630d5135e
commit 53f3f4ca10
3 changed files with 18 additions and 2 deletions

View File

@@ -144,6 +144,11 @@ class CredentialChangeTests(unittest.TestCase):
"bao write auth/netkingdom/role/whynot-design-workload-kv-read",
rendered,
)
self.assertIn("# Do not paste this shell block into the OpenBao Browser CLI.", rendered)
self.assertIn(
"# Web UI API Explorer path for the role JSON body: /v1/auth/netkingdom/role/whynot-design-workload-kv-read",
rendered,
)
self.assertIn('role_payload_file="$(mktemp)"', rendered)
self.assertIn('"bound_claims": {', rendered)
self.assertIn(