# Reading config/env variable inside kibana plugin

**URL:** <https://discuss.elastic.co/t/reading-config-env-variable-inside-kibana-plugin/167643>\
**Category:** Kibana\
**Created:** [February 8, 2019, 2:09pm UTC](https://discuss.elastic.co/t/reading-config-env-variable-inside-kibana-plugin/167643 "2019-02-08T14:09:00Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [March 29, 2019, 4:39pm UTC](https://discuss.elastic.co/t/reading-config-env-variable-inside-kibana-plugin/167643/9 "2019-03-29T16:39:29Z")

</div>

You're right: in 6.2.x, injectVars were part of `uiExport.app`. The Kibana Platform team removed that touchpoint in prep for the 8.x Kibana framework, which won't have uiExports.

To check on that, I'll again direct you to the Timelion code, this time going back to our 6.2 branch: [https://github.com/elastic/kibana/blob/6.2/src/core\_plugins/timelion/index.js#L11](https://github.com/elastic/kibana/blob/6.2/src/core_plugins/timelion/index.js#L11)

---

_[View the full topic](https://discuss.elastic.co/t/reading-config-env-variable-inside-kibana-plugin/167643)._
