Apple Team CLI
A modern terminal dashboard for auditing and managing App Store Connect team access. It makes the effective permissions Apple returns—especially provisioningAllowed—visible instead of relying on role names alone.
Important
This is an independent open-source project. It is not affiliated with, endorsed by, or supported by Apple Inc.
Features
- Rich dashboard for active members and pending invitations
- Effective Certificates, Identifiers & Profiles status
- Individual-membership access diagnosis
- Search members by email, name, or Apple resource ID
- Update roles, all-app visibility, and provisioning access
- Invite users and cancel pending invitations
- Guarded member removal with interactive confirmation
- JSON output for scripts and CI
- Short-lived JWTs generated in memory; tokens and private-key contents are never stored
Install
python3 -m venv .venv
. .venv/bin/activate
pip install -e .
Configure with .env
Create a Team API Key in App Store Connect → Users and Access → Integrations. An Admin key is needed for user management.
Copy the template and set all three values:
cp .env.example .env
ASC_ISSUER_ID="00000000-0000-0000-0000-000000000000"
ASC_KEY_ID="ABCDE12345"
ASC_PRIVATE_KEY_PATH="/absolute/path/to/AuthKey_ABCDE12345.p8"
Or generate .env interactively:
apple-team configure \
--issuer-id 00000000-0000-0000-0000-000000000000 \
--key-id ABCDE12345 \
--private-key ~/Downloads/AuthKey_ABCDE12345.p8
apple-team doctor
The configure command automatically applies chmod 600 to both .env and the selected private key. The CLI finds .env from the current directory upward. Existing shell environment variables take precedence. The private key remains at the referenced path and is never copied into the repository. .env and all .p8 files are gitignored.
Use
# Team overview
apple-team dashboard
apple-team dashboard --json
# Member audit
apple-team members list
apple-team members show developer@example.com
# Access changes (previewed and confirmed)
apple-team members enable-provisioning developer@example.com
apple-team members update developer@example.com --role admin --all-apps --provisioning
# Invitations
apple-team invites list
apple-team invites send \
--email developer@example.com \
--first-name Ada \
--last-name Lovelace \
--role admin \
--all-apps \
--provisioning
# Destructive actions always prompt unless --yes is explicit
apple-team invites cancel developer@example.com
apple-team members remove developer@example.com
Run apple-team COMMAND --help for every option.
Apple limitations
The CLI can request only what Apple's API and your API-key role permit. In particular:
- Individual Apple Developer Program memberships can invite App Store Connect users, but those users aren't members of the Developer Program team and cannot receive Certificates, Identifiers & Profiles access.
- Only the Account Holder can accept agreements, renew membership, and perform other holder-only actions.
- Invitations expire after three days.
- Apple may reject incompatible role combinations or permissions.
This tool surfaces Apple's error message without logging the JWT or private key.
Development
pip install -e '.[dev]'
ruff check .
pytest
python -m build
Tests use an in-memory mock transport and never contact Apple.
Security
Never commit .env files or .p8 keys. If a key is exposed, revoke it immediately in App Store Connect and create a replacement. See SECURITY.md for vulnerability reporting.
License
Released under the MIT License.
Apple, App Store Connect, and related marks are trademarks of Apple Inc.