We need to add encryption in transit and authentication to make sure we can avoid man in the middle attacks when scheduler is communicating with Exports service.
Acceptance criteria
Snapshots service communicates via TLS with the scheduler.
To-Do
- add ability to accept INTERNAL_ROOT_CA_PEM, TLS_CERT_PEM and TLS_PRIVATE_KEY_PEM and pass them to grpc server, refer to services/hourly as example
- make sure infrastructure generates client certificate
- move this to a separate package that can be included as a submodule
- modify hourlys service to use this new package