Skip to content

kafka-gitops should never output passwords #96

Description

@oocx

When I run kafka-gitops with -v, it outputs username and password in plain text:

kafka-gitops-grxt4 kafka-gitops 07:02:35.026 [main] INFO com.devshawn.kafka.gitops.config.KafkaGitopsConfigLoader - Kafka Config: {sasl.mechanism=PLAIN, sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="my-username" password="my-password";, bootstrap.servers=..., sasl.enabled.mechanisms=PLAIN, client.id=kafka-gitops}

If I run kafka-gitops as part of a job in our kubernetes cluster, the password will end up in our log files.

kafka-gitops should never print credentials to avoid leaking them to logs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions