gRPC RuntimeAgent
Package: mikrodev.scada.v1
Proto: crates/proto/proto/runtime/v1/runtime.proto
Default bind: 0.0.0.0:50051
Service
| RPC | Request | Response |
|---|---|---|
Health | HealthRequest | HealthResponse |
StageSnapshot | StageSnapshotRequest | StageSnapshotResponse |
ActivateSnapshot | ActivateSnapshotRequest | ActivateSnapshotResponse |
GetStatus | GetStatusRequest | RuntimeStatus |
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
| Mechanism | Env |
|---|---|
| App token | VION_RUNTIME_APP_TOKEN → metadata x-vion-app-token |
| TLS | VION_GRPC_TLS_* (runtime), VION_RUNTIME_GRPC_TLS_* (CP) |
| mTLS | client CA + client cert/key |
| Keepalive | VION_GRPC_KEEPALIVE_SECS |
In local development, plaintext may be left open. Do not expose the port outside the machine.