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
Unknown Object (File)
Mon, May 12, 16:12
Unknown Object (File)
Sun, May 11, 07:34
Unknown Object (File)
Sun, May 11, 05:35
Unknown Object (File)
Sat, May 10, 11:16
Unknown Object (File)
Thu, May 8, 12:38
Unknown Object (File)
Thu, May 8, 05:03
Unknown Object (File)
Wed, Apr 30, 05:06
Unknown Object (File)
Mon, Apr 28, 11:21
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