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
All properties described in this page are defined as follows, depending on the deployment type:
Kubernetes: In the
additionalPropertiessection of the the top-level
workernodes in the
Starburst Admin: In the
The following prefixes are supported:
Timeout value for establishing the connection to the external service.
Maximum connections allowed to the service.
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.
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
Password for the truststore.
File path on the server to the truststore file.
Host and port for an HTTP proxy with the format
Enable HTTPS for the proxy.
Host and port for a SOCKS proxy.
Enable log file compression. The client uses the
.gz format for log files.
Enable logging of HTTP requests.
Frequency of flushing the log data to disk.
Retention limit of log files in days. Files older than the
deleted when the HTTP client creates files for new logging periods.
Type: data size
Maximum total size of all log files on disk.
Sets the path of the log files. All log files are named
have the prefix of the specific HTTP client added. For example,
Size of the HTTP client logging queue.