Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ plugin-protos := \
proto/spire/plugin/agent/nodeattestor/v1/nodeattestor.proto \
proto/spire/plugin/agent/svidstore/v1/svidstore.proto \
proto/spire/plugin/agent/workloadattestor/v1/workloadattestor.proto \
proto/spire/plugin/agent/workloadattestor/v2/workloadattestor.proto \
proto/spire/plugin/server/bundlepublisher/v1/bundlepublisher.proto \
proto/spire/plugin/server/credentialcomposer/v1/credentialcomposer.proto \
proto/spire/plugin/server/keymanager/v1/keymanager.proto \
Expand Down
179 changes: 179 additions & 0 deletions proto/spire/plugin/agent/workloadattestor/v2/workloadattestor.pb.go

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
syntax = "proto3";
package spire.plugin.agent.workloadattestor.v2;
option go_package = "github.com/spiffe/spire-plugin-sdk/proto/spire/plugin/agent/workloadattestor/v2";

import "google/protobuf/any.proto";

service WorkloadAttestor {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs some more description.

rpc AttestReference(AttestReferenceRequest) returns (AttestReferenceResponse);
}

message AttestReferenceRequest {
// Required. Reference to the workload to be attested.
google.protobuf.Any reference = 1;
}

message AttestReferenceResponse {
// Optional. Selector values related to the attested workload. The type
// of the selector is inferred from the plugin name.
repeated string selector_values = 1;
}

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

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