Skip to main content

Encrypted traffic,
credentials stored separately.

TLS at three points, each protecting a different segment, and the Kubernetes Secrets that keep credentials separate from the resources that use them, with rotation.

Protection in transit​

TLS at three points, each protecting a different segment.

At the edge

Ingress or Gateway API

HTTPS for external access terminates at the Ingress Controller or at the Gateway, with a hostname and a TLS Secret.

On the service

Listeners and APIs

Kafka, NiFi, and Trino offer TLS on the service itself, in addition to HTTPS at the edge.

Between services

Client certificate

Client and server present certificates to each other, as in the connection from Ranger to NiFi and in the authentication of applications on Kafka.

Kafka: TLS listener

The Kafka cluster comes up with a TLS listener enabled, on the port defined in listeners.tls.port, alongside the non-TLS listener. Technical users can authenticate with a client certificate on that listener.

Trino: HTTPS

With LDAP enabled, Trino starts serving over HTTPS, on the port defined in tdp-trino.server.config.https.port, with password authentication.

NiFi: end-to-end HTTPS

In the modes with login, NiFi runs over HTTPS. Through Gateway API, the browser certificate sits on the Gateway listener, and the Gateway can re-encrypt the traffic to NiFi (BackendTLSPolicy).

Ranger and NiFi

When NiFi uses Ranger as its authorizer, Ranger accesses the NiFi API with a client certificate, which can be issued by cert-manager with the same issuer as NiFi.

LDAPS

The connection to the directory can use LDAPS or TLS in Ranger, Superset, Airflow, CloudBeaver, Argo CD, and Trino, with the directory's authority certificate made available to the component.

TLS per client path​

Each connection path, with the port and the TLS state in the chart.

PathPort and protocolIn the chart
Applications → Kafka brokersTLS listener, on port listeners.tls.port, with optional client certificate authenticationEnabled by default (listeners.tls.enabled)
SQL clients, such as the trino CLI → Trino coordinatorHTTPS, on port tdp-trino.server.config.https.port, with password authenticationEnabled together with Trino LDAP, in tdp-trino.server.config (HTTPS and authenticationType: "PASSWORD")
Browser and API → NiFiHTTPS (nifiCluster.security.protocol: https)Enabled in the modes with LDAP login
Ranger → NiFi APIHTTPS with client certificateEnabled when NiFi uses Ranger as its authorizer
Components → directory (LDAP or AD)LDAPS or TLS on the LDAP connectionCan be enabled in Airflow, Argo CD, CloudBeaver, Ranger, Superset, and Trino
ClickHouse → S3 storageHTTPS on the S3 endpoint (use_https)Can be enabled in the ClickHouse S3 storage policy
Browser → web interfacesHTTPS at the edge, through Ingress or Gateway APICan be enabled per component, with a hostname and a TLS Secret

Credentials and secrets​

Kubernetes Secrets keep credentials separate from the resources that use them. Some charts also accept passwords in the private values file.

Concept

Kubernetes Secrets

Secrets store sensitive data separately from the Pod definition. Restricting who can read Secrets in the Kubernetes API is part of the platform's security.

In TDP Kubernetes

Reference to existing Secrets

The charts reference Secrets through parameters such as existingSecret or passwordSecret.name. The LDAP bind passwords are kept in Secrets created before installation, the Kafka user passwords come from the Secrets generated by Strimzi, and, with Kerberos enabled in Ozone, the S3 credentials are issued by the Ozone Manager. Without Kerberos, the S3 Gateway accepts any key pair and the chart does not create the Secret.

Credential rotation​

Credential rotation follows each component's procedure: in Ozone with Kerberos, the administration S3 key is reissued by the chart's Job on helm upgrade. For the Ranger–NiFi client certificate, the Secret is recreated and Ranger Admin is restarted.

Ranger–NiFi client certificate

The password of the JKS files of the client certificate that Ranger uses in NiFi must remain stable across updates.

If it changes without the certificate being issued again, Ranger can no longer open the keystore and the truststore.

See also​