IoT SAFE is an interoperable, GSMA standard that uses the SIM as a miniature crypto-safe inside the device to securely establish a datagram transport layer security (D)TLS session with a corresponding application cloud or server. It provides a common application program interface (API) for the SIM to be used as a root of trust by IoT devices to ensure data is transmitted securely to and from approved devices only.