# GitHub App private key (.pem)

Tier 0 key, `key:app-private-key`. Page: https://ghtier.com/tier/keys-policies/app-private-key

Mints installation tokens for every installation of the App, so it carries the strongest permission any installation was given. For an App with organization Administration or Members permissions, that is control of the organization.

**Related permissions:** [GitHub App installation repository access: Write (repository)](https://ghtier.com/tier/permissions/installation-repositories-write.md) (Tier 1)

**Defenses (checklist):** [Review every currently installed GitHub App / OAuth App and its granted scope](https://ghtier.com/checklist/org-review-installed-apps.md)

**Strange findings:** [A GitHub App stays installed when its installer leaves](https://ghtier.com/strange-findings/finding-app-stays-after-installer-leaves.md)

**Audit log events that show it:** [integration.manager_added](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise), [org.integration_manager_added](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise), [integration.transfer](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise)

**Sources:**
- [GitHub Docs: Managing private keys for GitHub Apps](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/managing-private-keys-for-github-apps)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
