Docker Security for Confluent Platform¶
Confluent Platform supports cluster encryption and authentication, including a mix of authenticated and unauthenticated, and encrypted and non-encrypted clients. Using security is optional. These security features are supported on the Confluent Platform Docker images:
Component | Feature |
---|---|
Confluent Control Center | HTTPS |
Kafka Connect | None |
Kafka | SASL, SSL |
REST Proxy | HTTPS |
Schema Registry | HTTPS |
ZooKeeper | SASL |
For details on the available security features in Confluent Platform, see the Confluent Platform Security Overview Documentation.
Manage secrets¶
When you enable security for the Confluent Platform, you must pass secrets such as credentials, certificates, keytabs, Kerberos configuration, and more to the container. The images handle this by expecting the credentials to be available in the secrets directory. The containers specify a Docker volume for secrets and expect the administrator to map it to a directory on the host that contains the required secrets. For details about how to configure secrets protection in Docker containers, refer to Configuring secrets for Docker.
Use TLS/SSL¶
For a tutorial on using TLS/SSL in Confluent Platform, see Scripted Confluent Platform Demo.
Use Audit logging¶
For details about how to configure audit logging in Docker containers, refer to Configure audit logs in Docker.