Review protobuf presence, metadata credentials, verified TLS peers, mTLS identities, and the meaning of insecure dial options.
Intermediate45 min·updated 2026-11-15
You’re reading a preview. Premium includes the full lesson and specialist practice. View the full curriculum.
A typed RPC still crosses trust boundaries
A gRPC service exposes named methods with protobuf request and response messages. Generated code gives callers and handlers a typed interface, but does not establish business permission. A valid protobuf account ID can still select another customer's account, and an authenticated channel can still carry an unauthorized method call.
In LedgerWire, an API service calls a ledger service inside a cluster. The client uses a Kubernetes DNS name and grpc.WithInsecure(). The name helps route traffic; it does not authenticate the peer or encrypt this application channel under the fixture's no-mesh assumption.