# Using Build Env Secrets at Run Time

**URL:** <https://forum.ionicframework.com/t/using-build-env-secrets-at-run-time/233778>\
**Category:** Appflow\
**Created:** [May 28, 2023, 3:36am UTC](https://forum.ionicframework.com/t/using-build-env-secrets-at-run-time/233778 "2023-05-28T03:36:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikkimichaelis](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mikkimichaelis/32/144498_2.png) [@mikkimichaelis](https://forum.ionicframework.com/u/mikkimichaelis)\
**Post date:** [May 28, 2023, 3:36am UTC](https://forum.ionicframework.com/t/using-build-env-secrets-at-run-time/233778/1 "2023-05-28T03:36:10Z")

</div>

I’m trying to understand how to manage my app’s secret data within AppFlow. I understand I can create a Build Environment which allows creating ENV keys available during build time.

My question is, if I reference [process.env.MY\_VAR](https://nodejs.org/docs/latest-v8.x/api/process.html#process_process_env) within my code, will these ENV variables be available to the app at run time?

Thanks for any help and clairification

---

<div class="post-metadata">

**Author:** ![mikkimichaelis](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mikkimichaelis/32/144498_2.png) [@mikkimichaelis](https://forum.ionicframework.com/u/mikkimichaelis)\
**Post date:** [July 1, 2023, 1:11am UTC](https://forum.ionicframework.com/t/using-build-env-secrets-at-run-time/233778/2 "2023-07-01T01:11:32Z")

</div>

Thanks for the help. About what was expected from a dying community. I’m switching to React. Done with Ionic.

---

<div class="post-metadata">

**Author:** ![netkow](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/netkow/32/137759_2.png) [@netkow](https://forum.ionicframework.com/u/netkow)\
**Post date:** [July 2, 2023, 2:43pm UTC](https://forum.ionicframework.com/t/using-build-env-secrets-at-run-time/233778/3 "2023-07-02T14:43:17Z")

</div>

Apologies for the delay! The Ionic team has a lot of public channels to watch for questions, so sometimes it takes us time to respond.

For your question, those types of ENV variables aren’t available to runtime in the app. Those are Node variables (`process.env`) and Ionic apps don’t run in a Node process. Check out the framework-specific guides for environments, such [as Angular’s here](https://angular.io/guide/build#configuring-application-environments).
