Skip to main content
Version: 2.0

Transport Layer Security (TLS)

All communication to and from the API endpoints take place using an encrypted communication channel (TLS). gRPC handles configuration of the TLS channel using channel credentials, and you should refer to their documentation.

The code snippets below show how to configure channel credentials using the default set of root certificates installed on your system, which is usually sufficient.

.forAddress("", 443)
.trustManager(null) // load root certificates from the default location