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

add iam authentication support #374

Closed
wants to merge 1 commit into from

Conversation

sergeyyegournov
Copy link

add aws iam authentication support via oauth sasl mechanism

@twcurrie
Copy link

twcurrie commented Feb 2, 2024

#372 looks to cover this, no?

@bot-mb-cpxn-renovate
Copy link

#372 looks to cover this, no?

This PR allows setting the role to assume in providers config as also the aws provider do. For our usecase this would be the better approach.

@twcurrie
Copy link

twcurrie commented Feb 5, 2024

This PR allows setting the role to assume in providers config as also the aws provider do. For our usecase this would be the better approach.

@Mongey With the above in mind, what would be needed to include these changes as well?

@@ -46,9 +69,12 @@ func (c *Config) newKafkaConfig() (*sarama.Config, error) {
case "scram-sha256":
kafkaConfig.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: SHA256} }
kafkaConfig.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA256)
case "iam":
Copy link
Contributor

@sappusaketh sappusaketh Feb 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be updated to aws-iam as #372 already added this as aws-iam

@sappusaketh
Copy link
Contributor

@sergeyyegournov can you please update your PR with latest changes on master we do need this feature. If you don't have time please lmk I will open one from my end

@Mongey
Copy link
Owner

Mongey commented Mar 13, 2024

superseded by #391

@Mongey Mongey closed this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants