title: How to secure kafka Topic with username and password from CLI/command line?
body: <p>I have installed Docker on my Windows 10 and also installed Kafka. I have created a "<strong>test</strong>" Topic inside a Kafka cluster. Now I want to secure the Topic with a simple username and password. I am super new to Kafka, any help would really be appreciated. </p>
  
  <p>To run Kafka commands, I am using windows "Power Shell".</p>
  
  <p>I have tried running a few commands on the command line</p>
  
  <p><strong>To create Topics:-</strong>
  kafka-topics --create --topic test --partitions 1 --replication-factor 1 --if-not-exists --zookeeper zookeeper:2181</p>
  
  <p><strong>To secure Topic I used command:</strong>
  kafka-acls --topic test --producer --authorizer-properties --zookeeper zookeeper:2181 --add --allow-principal User:alice</p>
  
  <p>Unfortunately, it says "<strong>bash: afka-acl: command not found</strong>"</p>
  
  <p>Do I need to include anything in the Kafka configuration file? or Is it possible to just run commands from power shell and secure Topic?</p>
  
  <p>Securing with username and password is the same as ACL or different?</p>