Class IAMClientCallbackHandler

java.lang.Object
software.amazon.msk.auth.iam.IAMClientCallbackHandler
All Implemented Interfaces:
CallbackHandler, org.apache.kafka.common.security.auth.AuthenticateCallbackHandler

public class IAMClientCallbackHandler extends Object implements org.apache.kafka.common.security.auth.AuthenticateCallbackHandler
This client callback handler is used to extract AWSCredentials. The credentials are based on JaasConfig options passed to IAMLoginModule. If config options are provided the MSKCredentialProvider is used. If no config options are provided it uses the DefaultAWSCredentialsProviderChain.