Skip to content

Commit

Permalink
Add hint field for entry type and mask (#2588)
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Carvalho <[email protected]>
  • Loading branch information
guilhermocc authored and azdagron committed Apr 14, 2023
1 parent ee6529b commit 3b52379
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 31 deletions.
83 changes: 52 additions & 31 deletions proto/spire/api/types/entry.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/api/types/entry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ message Entry {

// The time to live for JWT-SVID identities issued for this entry (in seconds), overrides ttl if set.
int32 jwt_svid_ttl = 13;

// An operator-specified string used to provide guidance on how this
// identity should be used by a workload when more than one SVID is returned.
string hint = 14;
}

// Field mask for Entry fields
Expand Down Expand Up @@ -96,4 +100,7 @@ message EntryMask {

// jwt_svid_ttl field mask
bool jwt_svid_ttl = 13;

// hiny field mask
string hint = 14;
}

0 comments on commit 3b52379

Please sign in to comment.