[Identity] Allow for tunnelbroker endpoint to be configured
Summary:
Identity service needs some way to communicate with tunnelbroker
when issueing device requests. Currently this is limited to just
"refresh onetime keys", however, will likely include more messages in the
future.
https://linear.app/comm/issue/ENG-4583
Depends on D8722
Test Plan:
cd services/identity cargo run -- server # Should see output that it's falling back to localhost export TUNNELBROKER_GRPC_ENDPOINT=https://tunnelbroker.staging.commtechnologies.org:50051 cargo run -- server # Should see output that it's now using the other endpoint
Reviewers: bartek, varun
Reviewed By: bartek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D8723