Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14822

Allow restricting File and Directory ConfigProviders to specific paths

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.8.0
    • None

    Description

      In sensitive environments, it would be interesting to be able to restrict the files that can be accessed by the built-in configuration providers.

      For example:
      config.providers=directory
      config.providers.directory.class=org.apache.kafka.connect.configs.DirectoryConfigProvider
      config.providers.directory.path=/var/run

      Then if a caller tries to access another path, for example
      ssl.keystore.password=${directory:/etc/passwd:keystore-password}
      it would be rejected.

      Attachments

        Issue Links

          Activity

            People

              tinaselenge Gantigmaa Selenge
              mimaison Mickael Maison
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: