Skip to content
Back to skills

Gplay Setup

ASecurity

gplay authentication with `gplay auth`. Use when setting up gplay for the first time, switching, rotating or removing a stored service account, or diagnosing an auth failure (exit 10/11) on any gplay command.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 13, 2026
ai-agentsgobash

Works with

  • cli

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add PollyGlot/google-play-cli-skills --skill gplay-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gplay Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gplay Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pollyglot-gplay-setup/badge)](https://www.skillsdirectory.com/skills/pollyglot-gplay-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gplay-setup
description: gplay authentication with `gplay auth`. Use when setting up gplay for the first time, switching, rotating or removing a stored service account, or diagnosing an auth failure (exit 10/11) on any gplay command.
---

# gplay setup (auth)

Covers the `auth` namespace. Shared conventions are in `gplay-cli-usage`.

## The credential

gplay authenticates as a **Google Cloud service account** with the
*Android Publisher* role, invited to your Play Console. Supply its JSON key
via `gplay auth login` (a stored Account in the OS keystore, with a file
fallback in CI containers), `GPLAY_SERVICE_ACCOUNT`, or `--service-account`;
precedence in `gplay-cli-usage`.

## First-run flow

```bash
# 1. Register the service account as the active Account. --developer-id records
#    the Play Console developer account id that `gplay team` and `customapps` address.
gplay auth login --service-account ./service_account.json --developer-id <id>

# 2. Confirm what gplay will use, and where the credential lives.
gplay auth status

# 3. Ordered diagnostics; --package adds the "is the SA invited on this app" round-trip.
gplay auth doctor --package com.example.app
```

`auth doctor` is the first move when an authenticated command fails: it stops
at the first failing check, so the report says whether the key is bad (exit
`10`) or valid but not invited on the app (exit `11`, tested only with
`--package`).

## Managing stored accounts

```bash
gplay auth list                     # every registered Account
gplay auth logout <name> --confirm  # remove an Account from the config + keystore
```

Rotate or switch by running `gplay auth login` again (the new Account becomes
active; `--activate=false` only adds it), or target one per command with
`--account <name>`.

## Verify, then hand off

Once `auth doctor` is green, move to `gplay-apps`: `gplay apps add <package>`,
then `gplay init` to pin it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.