Open limithot opened 10 months ago
Hi @limithot, Thanks for the PR. May we know what use case are you trying to solve with this PR? It seems that one of the existing mechanisms (either awsProfileName
or the "no jaas config option" mechanism) would work for your use case?
Hi, @sankalpbhatia , We need to use multiple credentials in our application(service). Each of credentials could be applied and switched by user's selection in runtime . And sometimes new credentials could be add. The way of using 'awsProfileName' mechanism could not meet with our requirements.
Issue #, if available:
Description of changes: Allow users to pass awsAccessKeyId awsSecretAccessKey. They can specify awsAccessKeyId=access-key-id awsSecretAccessKey=secret-access-key as an option on the sasl.jaas.config
add AwsBasicCredentialsProvider.java and add
MSKCredentialProvider.ProviderBuilder.getAwsBasicCredentialProvider()
method to MSKCredentialProvider.javaBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.