# How to securely store username and password for an API within my app

**URL:** <https://community.homey.app/t/how-to-securely-store-username-and-password-for-an-api-within-my-app/72180>\
**Category:** Developers\
**Created:** [November 15, 2022, 9:14am UTC](https://community.homey.app/t/how-to-securely-store-username-and-password-for-an-api-within-my-app/72180 "2022-11-15T09:14:20Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [November 19, 2022, 6:28pm UTC](https://community.homey.app/t/how-to-securely-store-username-and-password-for-an-api-within-my-app/72180/10 "2022-11-19T18:28:06Z")

</div>

Yes, for now. But on the new Homey Pro 2023 it will be different, as written in the developer update.

> **The new Homey Pro can be fully backed up to a Mac or PC using USB. This means the entire operating system & userdata is saved**.Because of this new feature, it’s considerably easier for users to access and/or change Homey Pro’s filesystem, and therefore an app’s JavaScript code and environment variables.

The question how information in a env.json will be protected remains unanswered, not in the AMA nor on slack.:

> [@The new Homey Pro — Ask Me Anything](https://community.homey.app/t/the-new-homey-pro-ask-me-anything/70378/36):
>
> Quote from the Developer Update e-mail: Q: How will information from env.json be protected?

---

_[View the full topic](https://community.homey.app/t/how-to-securely-store-username-and-password-for-an-api-within-my-app/72180)._
