Drops Client.TaskPrincipalForCredential and the principal_id field only it read, Reporter.ReportToolCall, Pool.EnsureImage and Pool.Instance, and the binding cipher's exported domain API. Clears the remaining harness references from the audit target kinds, docs and comments.
32 lines
999 B
Protocol Buffer
32 lines
999 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package state.v1;
|
|
|
|
// Administrative task credential lifecycle. Worker credentials cannot call these.
|
|
service TaskGrantService {
|
|
rpc RegisterTaskGrant(RegisterTaskGrantRequest) returns (RegisterTaskGrantResponse);
|
|
rpc RevokeTaskGrant(RevokeTaskGrantRequest) returns (RevokeTaskGrantResponse);
|
|
rpc ResolveTaskGrant(ResolveTaskGrantRequest) returns (ResolveTaskGrantResponse);
|
|
}
|
|
|
|
message RegisterTaskGrantRequest {
|
|
int64 task_id = 1;
|
|
string token = 2;
|
|
int64 lifetime_seconds = 3;
|
|
}
|
|
message RegisterTaskGrantResponse {}
|
|
message RevokeTaskGrantRequest {
|
|
string token = 1;
|
|
}
|
|
message RevokeTaskGrantResponse {}
|
|
// ResolveTaskGrantRequest names a run credential; the response is the task
|
|
// it was issued for.
|
|
message ResolveTaskGrantRequest { string token = 1; }
|
|
message ResolveTaskGrantResponse {
|
|
int64 task_id = 1;
|
|
// Canonical execution identity; empty names the instance root RPC route.
|
|
string execution_identity = 2;
|
|
reserved 3;
|
|
reserved "principal_id";
|
|
}
|