Which type stores the information of an AWS IoT device

I am trying to setup connectivity between the C3 Platform and an edge device (say Raspberry PI). I am following the MqttPubSubClient tutorial as a starting point.
After I finish the 1st step using the following code:

var iot = AwsIotThing.make({role:'mqttTest', seq:'01'}).upsertResource();
var cert = iot.certificate;

The device information are stored in variables iot and cert. But say I lost the current session in the console, where can I retrieve the information stored in these two variables? Are these information persisted in some other types than AwsIotThing?