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
F12359485: D2671.diff
Wed, Oct 29, 01:43
Unknown Object (File)
Sat, Oct 25, 17:09
Unknown Object (File)
Fri, Oct 24, 19:04
Unknown Object (File)
Fri, Oct 24, 12:19
Unknown Object (File)
Fri, Oct 24, 10:32
Unknown Object (File)
Tue, Oct 21, 11:34
Unknown Object (File)
Sun, Oct 19, 14:07
Unknown Object (File)
Sun, Oct 19, 06:00
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 Not Applicable
Unit
Tests Not Applicable