# Support for device environment variables

**URL:** <https://forums.balena.io/t/support-for-device-environment-variables/4357>\
**Category:** openBalena\
**Created:** [November 7, 2018, 5:50pm UTC](https://forums.balena.io/t/support-for-device-environment-variables/4357 "2018-11-07T17:50:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [November 7, 2018, 6:20pm UTC](https://forums.balena.io/t/support-for-device-environment-variables/4357/3 "2018-11-07T18:20:04Z")

</div>

@WillFG I’ve just checked the latest `9.0.3` CLI, and there I seem to be able to add device env vars by:

```bash
$ balena env add VARNAME value --device uuid

```

This seems to be adding to the device (ie. available for all services)  
What version of the CLI are you trying?

I’ve asked our team about the SSL certificate error.

---

_[View the full topic](https://forums.balena.io/t/support-for-device-environment-variables/4357)._
