Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KafkaCtl with AWS MSK and IAM auth #152

Open
Joel-PeakMetrics opened this issue Jun 14, 2023 · 3 comments
Open

KafkaCtl with AWS MSK and IAM auth #152

Joel-PeakMetrics opened this issue Jun 14, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Joel-PeakMetrics
Copy link

Hello,

I'd like to use KafkaCtl with AWS MSK. The MSK cluster is currently enabled with IAM auth only. Is there a way to enable kafkactl to use IAM SASL auth?

This configuration is working for the kafka java commands:

security.protocol=SASL_SSL
sasl.mechanism=AWS_MSK_IAM
sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule required;
sasl.client.callback.handler.class=software.amazon.msk.auth.iam.IAMClientCallbackHandler

Thanks for your help!

@d-rk
Copy link
Collaborator

d-rk commented Jun 15, 2023

Hi @Joel-PeakMetrics

that is currently not possible. There is an open issue (and a related PR) in the kafka library we use:
IBM/sarama#1985

When something happens with that issue we can look into this again.

Regards

@d-rk d-rk added enhancement New feature or request blocked Cannot be implemented at the meoment labels Jun 15, 2023
@alahijani
Copy link

alahijani commented Dec 21, 2023

@d-rk The IBM/sarama issue is now closed.

@d-rk
Copy link
Collaborator

d-rk commented Dec 23, 2023

It should now be possible to implement this using: https://github.com/aws/aws-msk-iam-sasl-signer-go

@d-rk d-rk removed the blocked Cannot be implemented at the meoment label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants