By using AWS re:Post, you agree to the Terms of Use
/Unable to use IAM permissions to access MSK Brokers/

Unable to use IAM permissions to access MSK Brokers


I have been experimenting with a cluster that has IAM Authentication, and I cannot seem to get it working.
-I have a security group in the cluster that allows in-bound traffic from the ec2 instance I am testing from. I can even do zookeeper interactions like list topics just fine.
-My ec2 instance has an IAM role with a policy that specifically allows for all kafka interactions on all resources
-I also tried an aws local profile that has the same attached policy.
-I am using the following command to attempt a consumer interaction
bin/ --bootstrap-server --topic exampleTopic --consumer.config config/ has the below properties
sasl.mechanism=AWS_MSK_IAM required;

Am I missing anything?

1 Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions