# How to properly hide Android keystore file and passwords when using Source Control?

**URL:** <https://forums.unrealengine.com/t/how-to-properly-hide-android-keystore-file-and-passwords-when-using-source-control/338664>\
**Category:** Pipeline & Plugins\
**Tags:** security, unreal-engine, Android, Source-Control, UE4, question\
**Created:** [November 16, 2015, 3:42pm UTC](https://forums.unrealengine.com/t/how-to-properly-hide-android-keystore-file-and-passwords-when-using-source-control/338664 "2015-11-16T15:42:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnhllsng](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vnhllsng](https://forums.unrealengine.com/u/vnhllsng)\
**Post date:** [November 16, 2015, 3:42pm UTC](https://forums.unrealengine.com/t/how-to-properly-hide-android-keystore-file-and-passwords-when-using-source-control/338664/1 "2015-11-16T15:42:01Z")

</div>

Hi, everybody.

I’m working on a game for mobile platforms, and I’m a bit concerned by the fact, that I need to put my keystore file in the project folder, and a password to it in project’s settings.

I’m willing to use source control with this project, and I want to know, if it’s safe, or what do I need to do in order for it to be safe. And how do I not let my password and keystore file not seep through to the remote repository.

I can add a keystore file to ignore list f my source control, that part is clear.

I can manually set and clear the password field in the settings each time, but I’m human and I can easily forget to clear the field some day, so that’s not a good solution.

So what’s the proper take on this?

---

<div class="post-metadata">

**Author:** ![drh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@drh](https://forums.unrealengine.com/u/drh)\
**Post date:** [March 7, 2017, 3:45pm UTC](https://forums.unrealengine.com/t/how-to-properly-hide-android-keystore-file-and-passwords-when-using-source-control/338664/2 "2017-03-07T15:45:49Z")

</div>

Would also like to know how others are handling this.

My team’s current solution is having the build server run a script that modifies the `DefaultEngine.ini` file in the project to add something like:

```
...
KeyStore=gearvr-distribution.keystore
KeyAlias=your_key_alias
KeyStorePassword=SomePassword
```

---

<div class="post-metadata">

**Author:** ![Romeno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Romeno](https://forums.unrealengine.com/u/Romeno)\
**Post date:** [March 21, 2024, 12:27am UTC](https://forums.unrealengine.com/t/how-to-properly-hide-android-keystore-file-and-passwords-when-using-source-control/338664/3 "2024-03-21T00:27:39Z")

</div>

Why no answers though? Unity does not store your keystore passwords in text files. And those text files are to be stored in the source control. Why though? Why?
