When using RPC method invocation between
When using RPC method invocation between workers/durable objects, do I need to build some security layer around this myself, or does the CF architecture give me some guarantees? For ex, in a normal multi-service architecture, it's quite common to have service-to-service calls be authenitcated, where each service has some kind of token/cert/etc...
It's not quite clear if I need to do the same when doing worker-to-worker / worker-to-durableobject RPC calls. (not fetch).
1 Reply
can only be invoked by other workers on the same Cloudflare account
https://developers.cloudflare.com/workers/runtime-apis/rpc/
Cloudflare Docs
Remote-procedure call (RPC)
The built-in, JavaScript-native RPC system built into Workers and Durable Objects.