Connecting to AWS IoT

Hello! 
Trying to understand how to connect to AWS IoT. I use nRF9160. 
As for template I'm using mqtt_simple sample. 
I found broker address, but how to use security keys and other stuff for connections.
Do someone have experience with AWS IoT?