File tree Expand file tree Collapse file tree
capabilities/compute/confidentialworkflow/v1alpha Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ syntax = "proto3";
33package capabilities.compute.confidentialworkflow.v1alpha ;
44
55import "tools/generator/v1alpha/cre_metadata.proto" ;
6+ import "google/protobuf/empty.proto" ;
67
78message SecretIdentifier {
89 string key = 1 ;
@@ -31,6 +32,8 @@ message WorkflowExecution {
3132 // org_id is the organization identifier for the workflow owner.
3233 // Used by the enclave when fetching secrets from VaultDON with org-based ownership.
3334 string org_id = 7 ;
35+ // regions that the workflow is allowed to run in.
36+ repeated string regions = 8 ;
3437}
3538
3639// ConfidentialWorkflowRequest is the input provided to the confidential workflows capability.
@@ -46,11 +49,16 @@ message ConfidentialWorkflowResponse {
4649 bytes execution_result = 1 ;
4750}
4851
52+ message VerifyRegionsResponse {
53+ repeated string regions = 1 ;
54+ }
55+
4956service Client {
5057 option (tools.generator.v1alpha.capability ) = {
5158 mode : MODE_DON
5259 capability_id : "confidential-workflows@1.0.0-alpha"
5360 };
5461
5562 rpc Execute (ConfidentialWorkflowRequest ) returns (ConfidentialWorkflowResponse );
63+ rpc GetRegions (com.google.protobuf.Empty ) returns (VerifyRegionsResponse );
5664}
You can’t perform that action at this time.
0 commit comments