Preserving context security in AWS IoT Core