cp-ansible icon indicating copy to clipboard operation
cp-ansible copied to clipboard

Scram user creation + ACL

Open RajPathare opened this issue 1 year ago • 0 comments

Describe the issue

We’ve deployed Confluent Kafka with the cp-ansible codebase in our dev environment and it’s working well. Now, we’re planning to add some sasl scram users and align ACLs for them. To achieve this, we have created a terraform code which would connect to the kafka broker and create the required users + ACLs, but while running the code, we’re facing some issues.

The error: Kafka server: Security features are disabled.

Are ACLs supported in cp-kafka with one broker? If yes, how do we create users and align them with proper ACL?

To Reproduce Used a terraform provider for creating scram512 users and ACLs Terraform provider link - https://registry.terraform.io/providers/zywillc/kafka/latest/docs/resources/user_scram_credential

Expected behaviour Scram users and ACLs should get created

Additional context Tested the same code with AWS MSK, working as expected.

RajPathare avatar Feb 15 '23 14:02 RajPathare