Page MenuHomeDevCentral

Avoid a server to keep access to stale Vault policies
ClosedPublic

Authored by dereckson on Apr 15 2022, 19:11.
Tags
None
Referenced Files
F27256645: D2671.id6761.diff
Sat, May 2, 06:33
F27253715: D2671.id.diff
Sat, May 2, 04:39
F27210781: D2671.diff
Fri, May 1, 10:35
F27210667: D2671.id6761.diff
Fri, May 1, 10:24
Unknown Object (File)
Wed, Apr 29, 23:00
Unknown Object (File)
Tue, Apr 28, 14:27
Unknown Object (File)
Mon, Apr 27, 18:45
Unknown Object (File)
Mon, Apr 27, 13:04
Subscribers
None

Details

Summary

If a server lose access to any policy, it would keep the last state.

Instead, we now submit a new policy "intentionally left blank"
to explicitly document that node doesn't have access to anything.

This is a follow-up for af9db00760be.

Ref T1425.

Test Plan

salt-call --local credentials.build_policies_by_node

Tested on Complector, we've a correct set of policies for every node.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
docker-vault-policies-blank
Build Status
Buildable 4188
Build 4440: arc lint + arc unit