.. _confluentsecurityplugins_kafaka_rest_security_plugin: Kafka REST Security Plugin ========================== .. important:: This is a Confluent Enterprise-only feature. Kafka REST Proxy allows producing and consuming messages through a REST interface. The security plugin adds the capability to authenticate the incoming request, build the principal and then propagate the same to the requests to Kafka using the configured security mechanism. The authorization is enforced through Kafka ACL's. .. note:: Kafka REST Security plugin and ACLs do not work with the V1 consumer APIs since it uses a simple consumer which doesn't support Kafka Security. Installation ------------ These JAR files must be available in the classpath of the Kafka REST deployment. You can get the files by following the download instructions at :ref:`Security Plugin Installation `. * confluent-security-plugins-common-.jar * confluent-kafka-rest-security-plugin-` On a high level, the following are required for each of the security protocols: - **SSL** - keystore loaded with all certificates corresponding to all required principal; configured via ``client.ssl.keystore.type`` - **SASL** - JAAS config file with ``KafkaClient`` section containing all principals along with its login module and options; configured via ``-Djava.security.auth.login.config``. Refer to :ref:`Kafka Security` for more details. Configuration ------------- ``confluent.rest.auth.propagate.method`` The mechanism used to authenticate REST Proxy requests. When broker security is enabled, the principal from this authentication mechanism is propagated to Kafka broker requests. * Type: string * Default: "SSL" * Importance: low ``confluent.license`` Confluent will issue a license key to each subscriber. The license key will be a short snippet of text that you can copy and paste. Without the license key, you can use Confluent Security Plugins for a 30-day trial period. If you are a subscriber and don't have a license key, please contact Confluent Support at support@confluent.io. * Type: string * Default: "" * Importance: high