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
F3775888: D2671.diff
Sun, Nov 24, 20:18
Unknown Object (File)
Sat, Nov 23, 01:03
Unknown Object (File)
Fri, Nov 22, 12:29
Unknown Object (File)
Fri, Nov 22, 03:42
Unknown Object (File)
Thu, Nov 21, 07:25
Unknown Object (File)
Mon, Nov 18, 21:56
Unknown Object (File)
Mon, Nov 18, 15:34
Unknown Object (File)
Mon, Nov 18, 05:44
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