Fix OpenBao role payload handoff
This commit is contained in:
parent
e3147b7fd5
commit
f630d5135e
3 changed files with 31 additions and 26 deletions
|
|
@ -144,8 +144,10 @@ class CredentialChangeTests(unittest.TestCase):
|
|||
"bao write auth/netkingdom/role/whynot-design-workload-kv-read",
|
||||
rendered,
|
||||
)
|
||||
self.assertIn('role_payload_file="$(mktemp)"', rendered)
|
||||
self.assertIn('"bound_claims": {', rendered)
|
||||
self.assertIn(
|
||||
'bound_claims={"groups":["whynot-design"]}',
|
||||
'bao write auth/netkingdom/role/whynot-design-workload-kv-read @"$role_payload_file"',
|
||||
rendered,
|
||||
)
|
||||
self.assertIn(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue