Skip to content

Commit

Permalink
Add can_reattest field to AgentAttributes (spiffe#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Feldman <[email protected]>
  • Loading branch information
dfeldman authored Nov 15, 2021
1 parent 63f1e51 commit 1cc72b2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 16 deletions.
48 changes: 32 additions & 16 deletions proto/spire/plugin/server/nodeattestor/v1/nodeattestor.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions proto/spire/plugin/server/nodeattestor/v1/nodeattestor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,11 @@ message AgentAttributes {
// Optional. Selectors values to ascribe to the agent. The type of the
// selectors will be inferred from the plugin name.
repeated string selector_values = 2;

// Optional. If can_reattest is true, then this attestation method
// allows an agent to attest multiple times with the same
// attestation payload without operator intervention.
// This also allows the server to clear out old entries automatically
// since they can be easily recreated.
bool can_reattest = 3;
}

0 comments on commit 1cc72b2

Please sign in to comment.