More info on environment variables

Hi all, I’ve been trying to read the documentation and even though using environment variables seems to be well documented, I’m trying to find out when resin creates them and how it works.
Since they are stored “in the cloud”, what happens when I have environment variables and my RPI is not connected to the internet when booting. Does it keep the most recent environment variables? In other words, do they get stored on the partition?

A bit more info would be really helpful.

1 Like

Hey Robin,

Yes, they are stored on the device so they are present even when the device has no connection. Of course when you create or change an environment variable via the Dashboard, API or SDK the device would need to have a connection to pick up the new env changes.

Does that answer your question?

Cheers,
Craig

2 Likes

Perfect, yes it does. Thank you very much.