Skip to content

Commit

Permalink
proto/agent: add Delegated Identity API (#8)
Browse files Browse the repository at this point in the history
Add proto definitions for new Delegated Identity API. This API includes two
rpcs: SubscribeToX509SVIDs and SubscribeToX509Bundles.

The SubscribeToX509SVIDs rpc allows a privileged client to get X509-SVIDs
for a given workload. This method uses a directional gRPC stream.

The request is used to subscribe a workload, and the response (stream
from server to client) is used to send SVID updates (for the subscribed
workload). The client subscription is based on the workload's selectors.
X509-SVIDs for registration entries matching *all* the passed selectors
are returned.

The SubscribeToX509Bundles rpc streams get local and all federated
bundles.

Co-authored-by: Mauricio Vásquez <[email protected]>
Co-authored-by: Raphael Campos <[email protected]>
Co-authored-by: Thiago Navarro <[email protected]>
Signed-off-by: Mauricio Vásquez <[email protected]>
Signed-off-by: Raphael Campos <[email protected]>
Signed-off-by: Thiago Navarro <[email protected]>
  • Loading branch information
4 people authored Aug 17, 2021
1 parent 782cd5a commit 68c0316
Show file tree
Hide file tree
Showing 4 changed files with 747 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ protos := \

apiprotos := \
proto/spire/api/agent/debug/v1/debug.proto \
proto/spire/api/agent/delegatedidentity/v1/delegatedidentity.proto \
proto/spire/api/server/agent/v1/agent.proto \
proto/spire/api/server/bundle/v1/bundle.proto \
proto/spire/api/server/debug/v1/debug.proto \
Expand Down
Loading

0 comments on commit 68c0316

Please sign in to comment.