Skip to content

gRPC RuntimeAgent ​

Package: mikrodev.scada.v1
Proto: crates/proto/proto/runtime/v1/runtime.proto
Default bind: 0.0.0.0:50051

Service ​

RPCRequestResponse
HealthHealthRequestHealthResponse
StageSnapshotStageSnapshotRequestStageSnapshotResponse
ActivateSnapshotActivateSnapshotRequestActivateSnapshotResponse
GetStatusGetStatusRequestRuntimeStatus

RuntimeSnapshotMetadata.tenant_id (field 9) is not part of the sealed body. If the runtime has VION_TENANT_ID set, it rejects a mismatched Stage.

Security ​

MechanismEnv
App tokenVION_RUNTIME_APP_TOKEN → metadata x-vion-app-token
TLSVION_GRPC_TLS_* (runtime), VION_RUNTIME_GRPC_TLS_* (CP)
mTLSclient CA + client cert/key
KeepaliveVION_GRPC_KEEPALIVE_SECS

In local development, plaintext may be left open. Do not expose the port outside the machine.