HTTP client properties#

HTTP client properties allow you to configure the connection from Trino to external services using HTTP.

The following properties can be used after adding the specific prefix to the property. For example, for OAuth 2.0 authentication, you can enable HTTP for interactions with the external OAuth 2.0 provider by adding the prefix oauth2-jwk to the http-client.connect-timeout property, and increasing the connection timeout to ten seconds by setting the value to 10:


All properties described in this page are defined as follows, depending on the deployment type:

  • Kubernetes: In the additionalProperties section of the the top-level coordinator and worker nodes in the values.yaml file.

  • Starburst Admin: In the files/coordinator/ and files/worker/ files.

The following prefixes are supported:

General properties#


  • Type: duration

  • Default value: 5s

  • Minimum value: 0ms

Timeout value for establishing the connection to the external service.


Maximum content size for each HTTP request and response.


  • Type: duration

  • Default value: 5m

  • Minimum value: 0ms

Timeout value for the overall request.

TLS and security properties#


A comma-separated list of regexes for the names of cipher algorithms to exclude.


A comma-separated list of regexes for the names of the cipher algorithms to use.


  • Type: boolean

  • Default value: true

Verify that the server hostname matches the server DNS name in the SubjectAlternativeName (SAN) field of the certificate.


Password for the keystore.


File path on the server to the keystore file.

Set the secure random algorithm for the connection. The default varies by operating system. Algorithms are specified according to standard algorithm name documentation.

Possible types include NativePRNG, NativePRNGBlocking, NativePRNGNonBlocking, PKCS11, and SHA1PRNG.

Password for the truststore.

File path on the server to the truststore file.

Proxy properties#


Host and port for an HTTP proxy with the format

  • Type: boolean

  • Default value: false

Enable HTTPS for the proxy.


Host and port for a SOCKS proxy.

Request logging#


  • Type: boolean

  • Default value: true

Enable log file compression. The client uses the .gz format for log files.


  • Type: boolean

  • Default value: false

Enable logging of HTTP requests.


Frequency of flushing the log data to disk.


Retention limit of log files in days. Files older than the max-history are deleted when the HTTP client creates files for new logging periods.


Maximum total size of all log files on disk.


  • Type: string

  • Default value: var/log/

Sets the path of the log files. All log files are named http-client.log, and have the prefix of the specific HTTP client added. For example, jwk-http-client.log.


  • Type: integer

  • Default value: 10000

  • Minimum value: 1

Size of the HTTP client logging queue.