# read configurable keys from system of Bonita

**URL:** <https://community.ofelia.com/t/read-configurable-keys-from-system-of-bonita/9325>\
**Category:** Q&A\
**Created:** [8 November 2018 22:49 UTC](https://community.ofelia.com/t/read-configurable-keys-from-system-of-bonita/9325 "2018-11-08T22:49:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dding\_1375128](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@dding\_1375128](https://community.ofelia.com/u/dding_1375128)\
**Post date:** [8 November 2018 22:49 UTC](https://community.ofelia.com/t/read-configurable-keys-from-system-of-bonita/9325/1 "2018-11-08T22:49:27Z")

</div>

Hi:  
I need to call REST API using special keys. These keys are different from dev,qa and Prd env. How can i read them from the system, not include the keys in the code/git?

thanks,

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [12 November 2018 23:09 UTC](https://community.ofelia.com/t/read-configurable-keys-from-system-of-bonita/9325/2 "2018-11-12T23:09:03Z")

</div>

Hello,

I would consider:

- A property file loaded from the REST API (cached or not)
- Java System properties set using the java command line

HIH,

---

<div class="post-metadata">

**Author:** ![dding\_1375128](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@dding\_1375128](https://community.ofelia.com/u/dding_1375128)\
**Post date:** [10 December 2018 16:27 UTC](https://community.ofelia.com/t/read-configurable-keys-from-system-of-bonita/9325/3 "2018-12-10T16:27:32Z")

</div>

Thanks pierrick.voule.  
I want to use env var in groovy script connector. If i go with Java System properties set using the java command line,

1. how to start Bonita platform with system properties from command line?
2. how to get env var in groovy script connector? Using Sytem.getenv() seems not working.

Please get me some details.
