Safeguard
Security Guides•

How do you keep your Android game signing key safe? Play App Signing

Play App Signing separates the upload key from the app signing key. Why that helps game studios if a key is lost or leaked, and how to set it up.

Safeguard Security Team
4 min read

Use Play App Signing and keep only an upload key on your build side. Google's documentation says that with it, a lost or compromised upload key can be reset, whereas for apps not using it, losing the signing key means losing the ability to update the app. For a game with players, that difference is large.

Two keys, two jobs

Android developer documentation describes the two keys:

  • App signing key. Used to sign the APKs installed on a user's device. It is private and must be kept secret.
  • Upload key. You keep it and use it to sign your app bundle for upload. Google uses the upload certificate to verify your identity, then signs the APKs with the app signing key for distribution.

The page says that once Play App Signing is configured, with either a generated key or one you supply, you cannot retrieve a copy of the app signing key, and Google may keep a backup for disaster recovery.

Why it matters for games

A signing key is the identity of your game. Players update only if the new build is signed by the same identity. If that key leaks, someone could sign a lookalike build. If it is lost, you cannot publish updates to the same app.

Game studios have several places a key can leak: a build server, a shared drive, a contractor's laptop, or a repository where someone committed a keystore file. A split between upload key and signing key limits the damage of any of those. The documentation says a separate upload key allows you to request an upload key reset if it is lost or compromised, and that you can keep uploading updates to the original app even if you change upload keys.

Setup steps

The documentation gives a high level path for a new app:

  1. Generate an upload key and keystore.
  2. Sign your app with the upload key.
  3. Configure Play App Signing.
  4. Upload your app to Google Play.
  5. Prepare and roll out the release.

For an app already published with its own signing key, the page describes signing with that key first and then enrolling, and mentions a key upgrade option if a key is compromised or you want to migrate to a cryptographically stronger one.

Housekeeping that studios forget

ItemPractice
Keystore fileNever commit it. Store it in a secrets manager or vault the build job reads at run time
Keystore passwordKeep separate from the file, and not in build scripts
Who can signName the people and build jobs; remove contractors on exit
BackupKeep an encrypted backup of the upload key in a second controlled location
Reset pathWrite down who in your organization can request an upload key reset in the Play Console
Engine settingsUnity, Unreal and Godot all let you point to a keystore; check that debug keys are never used for release builds

The last row is general advice; check your engine's documentation for exact settings.

When something goes wrong

If you suspect the upload key leaked, request a reset through the Play Console as Google's documentation describes, rotate the build credentials, and review who had access. If the app signing key was compromised, the documentation describes a key upgrade option.

Safeguard's SBOM and dependency scanning covers what your game build depends on, and a free scan is at gold.safeguard.sh/scan. Choosing and protecting the signing keys is your team's decision and sits outside that scan.

Quick check

Can I download my app signing key from Google later?

Google's documentation says you cannot retrieve a copy of the app signing key after configuring Play App Signing.

What if I lose the upload key?

With Play App Signing, you can request an upload key reset in the Play Console, per Google's documentation.

What if I never enrolled?

The same page says that for apps without Play App Signing, losing the signing key means losing the ability to update the app.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.