Some environment variables are available on the device after its successful onboarding.
These are also available for deployments on the device. These are:
- RIO_DEVICE_NAME_LAST_SEEN: Stores the name of the device that was present at the time of onboarding. Please note that changes made to the device’s name through rapyuta.io UI or APIs will not reflect on this environment variable.
- RIO_DEVICE_ID: Stores the unique identifier of the device.
- RIO_PROJECT_ID: Stores the unique identifier of the project in which the device was created.