I am using AWSIotMqttClient to connect to the server and publish some data. I am able to do this with the below code (using AWSIoT SDK for java).
//Get keySto