# Uploading Android keystore files to Bitrise

To be able to digitally sign your Android apps, and distribute them on the Google Play Store, you need [a keystore file](https://developer.android.com/training/articles/keystore). You can store the keystore file in any accessible location and our Steps can use them but the easiest, most convenient way is to upload them directly to Bitrise.

To do so:

:::note[Multiple files]

You can upload multiple keystore files to Bitrise. If you do, make sure your Steps use the right one, as they will have different URLs.

:::

1. 1. Open your project on Bitrise with a user that has the **Admin** [role on the project](/bitrise-platform/projects/roles-and-permissions-for-bitrise-ci), or a [custom role](/bitrise-platform/workspaces/collaboration-and-permissions-in-workspaces/custom-roles/custom-roles-overview) with the **Edit workflows** permission.
1. On the main page of the project, click on the **Project settings** button.
1. On the left, select **Code signing** and go to the **Android** tab.
1. Click the **Add keystore file** button.
1. In the dialog box, drag and drop your keystore file onto the field, or click the field to browse your files.

   A keystore URL automatically gets generated once you upload the keystore file. Bitrise assigns an Environment Variable (`$BITRISEIO_ANDROID_KEYSTORE_URL`) to the download URL (which is a time-limited, read-only download URL) of the file as the value. No need to download it manually as the [Android Sign](https://github.com/bitrise-steplib/steps-sign-apk) Step downloads it automatically.
1. Fill out the displayed three input fields with your Android keystore credentials:

   - **Keystore password**
   - **Key alias**
   - **Private key password**

   ![Add keystore file dialog](/img/code-signing/android-code-signing/2026-07-14-add-android-keystore-file.png)

   You can set the passwords and the alias when creating the key: [Generate an upload key and keystore](https://developer.android.com/studio/publish/app-signing#generate-key).
1. Click **Continue**. The next page will show the new Environment Variables that will be available to your builds once you finish the file upload process:

   - `$BITRISEIO_ANDROID_KEYSTORE_ALIAS`
   - `$BITRISEIO_ANDROID_KEYSTORE_PASSWORD`
   - `$BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD`
   - `$BITRISEIO_ANDROID_KEYSTORE_URL`

   Each time you upload an additional keystore file after the first, the new file's respective Env Vars will have a number inserted before the field name. For example, `$BITRISEIO_ANDROID_KEYSTORE_1_ALIAS`, `$BITRISEIO_ANDROID_KEYSTORE_2_ALIAS`.
1. Review your keystore data to make sure you've uploaded the correct file.
1. Optionally, you can set up a custom ID for the keystore file: in the **Custom keystore ID** field, add the ID you want to use to identify your keystore file.

   The ID will replace the unique part of the keystore-related Env Vars: for example, if you set the ID to `My_Best_App`, the URL will be `$BITRISEIO_ANDROID_KEYSTORE_My_Best_App_URL`.
1. Click **Add keystore**.
