title: Authenticated flow for AWSIoT iOS
body: <p>I am able to run the IoT Temperature Control Sample provided by Amazon.</p>
  
  <p>Below is the link for the sample app:</p>
  
  <p><a href="https://github.com/awslabs/aws-sdk-ios-samples/tree/master/IoTTemperatureControl-Sample/Swift" rel="nofollow noreferrer">The Amazon IoT Temperature Control Sample</a></p>
  
  <p>The app is responding to the AWS IoT in proper manner.</p>
  
  <p>But the app is designed for the Unauthenticated user.
  I need to implement the same for the Authenticated user in which the AWS Cognito provides the Access Key,Secret Key and Access Token for the user.
  Using those credentials I need to provide access of AWS IoT to that user.</p>
  
  <p>I am not able to get how to do that.</p>
  
  <p>Please help me in achieving the solution.</p>