This used to be done in RPC but the goal is to be able to call this from another server and not rely on a user account.