Updated 21 Nov 2026: Nov 21: replace deprecated paginated credential-inventory API guidance with async CSV export workflow, clarify relationship rows and permissions.

Key details

  1. Credential inventory export was announced September 21, 2026 for GitHub Enterprise Cloud.
  2. Inventory types include SSH keys, classic and fine-grained PATs, OAuth App access tokens, and GitHub App user-to-server and installation tokens.
  3. Records expose owners, permissions/scopes, creation and expiration dates, last-used dates, and target organizations or repositories.
  4. Access can be delegated with the fine-grained `View enterprise credentials` permission.
  5. GitHub’s existing selective revocation controls can target credential classes rather than every credential a user holds.
  6. GitHub Enterprise Server support for the inventory is planned for upcoming releases.
  7. Current GitHub REST docs warn the legacy list and single-item inventory endpoints were scheduled for removal on October 2, 2026.
  8. Automated collection should use asynchronous create/get CSV export operations; HTTP 202 indicates accepted work, not a complete inventory.
  9. CSV rows represent credential-to-organization authorizations and may repeat a credential across organizations.

What builders should take away

  1. Export a baseline credential inventory before an incident so responders are not discovering the enterprise authentication surface under pressure.
  2. Correlate last-use and target metadata with audit logs before choosing a revocation scope.
  3. Update incident-response runbooks so discovery through credential inventory feeds directly into token-type-specific containment.
  4. Keep GHES runbooks separate until the credential inventory feature lands in the server release you operate.
  5. Migrate credential inventory collectors from legacy paginated list/get endpoints to asynchronous CSV create/poll/download and validate completion.
  6. Preserve raw CSV relationship rows; derive unique credential counts using type-aware identifiers rather than row counts.
  7. Keep View enterprise credentials separate from Manage enterprise credentials; do not automatically revoke from inventory alone.

What changed

GitHub added token-type-specific credential revocation on August 18, 2026. On September 21 it added a complementary enterprise credential inventory for GitHub Enterprise Cloud. Enterprise owners and members with the fine-grained `View enterprise credentials` permission can export or query credentials across the enterprise, including SSH keys, classic and fine-grained personal access tokens, OAuth App access tokens, and GitHub App user-to-server and installation tokens. The inventory includes owners, scopes/permissions, creation and expiration dates, last-used dates and target organizations or repositories, and can be correlated with audit-log activity. Together, the two changes let responders identify the exposed credential set before choosing a narrower revocation action. Update verified November 21: GitHub's current enterprise credential inventory REST reference marks its original list and single-item operations as closing down with an October 2, 2026 removal date and directs clients to asynchronous CSV export. The create-export endpoint accepts filters and returns an export ID to poll; a 202 Accepted response is not a completed file. GitHub's current admin guide describes CSV export and read-only inventory, with one row per credential-organization authorization relationship. The October 2 notice is in the past, but actual endpoint removal was not independently tested; treat the legacy endpoints as unsupported rather than claiming a measured outage.

Why it matters

Selective revocation is most useful when responders can quickly establish which credentials exist, who owns them and where they can reach. The new inventory closes that operational gap: security teams can build an enterprise-wide credential map before or during an incident, filter it by user, app, type or organization, and then use GitHub’s existing credential-class kill switches rather than defaulting to broad account disruption. The newer API contract changes incident-response automation: synchronous pagination cannot be assumed, exports are rate-limited, and incident tooling must handle asynchronous completion and preserve authorization relationships rather than equating CSV rows with unique credentials.

Enterprise inventory is now an asynchronous export workflow

GitHub Enterprise Cloud provides a full CSV credential inventory. Its REST reference warns that the original paginated list and single-item lookup operations were scheduled for removal on October 2, 2026. Use Create an enterprise token inventory export, poll Get an enterprise token inventory export using the returned ID, then retrieve and validate the completed CSV. The create operation accepts filtering; the UI CSV cannot be filtered before export. The old endpoints' actual runtime status has not been tested.

The metadata is designed for incident triage

Inventory records include credential owner, scopes and permissions, creation and expiration dates, last-used dates, and target organizations or repositories. Teams can filter by user, app, credential type or organization and correlate the results with audit-log activity to identify credentials that plausibly participated in an incident.

Selective revocation remains the containment layer

GitHub’s August controls let responders revoke or deauthorize a specific credential class rather than every credential associated with a user. The September inventory makes that capability easier to use safely because teams can first determine the actual credential population and exposure.

Enterprise Server support is coming later

GitHub says the inventory is available now for GitHub Enterprise Cloud and will be supported in upcoming GitHub Enterprise Server releases. Self-hosted enterprises should not assume the new inventory API is available until their GHES release includes it.

Preserve CSV semantics and separate discovery from remediation

The CSV contains one row per credential and authorizing organization, so one credential can appear more than once. Identifiers vary by credential type; an empty expiry date is not proof that a credential never expires. Inventory is read-only under View enterprise credentials; revocation is a separate high-impact operation requiring appropriate authority. Compare credential IDs, hashes or SSH fingerprints to audit logs before drawing conclusions about observed activity.

What to watch next

  • Which GitHub Enterprise Server release first includes credential inventory exports and API access.
  • Whether GitHub adds finer-grained revocation based on inventory attributes such as age, scope, owner or target repository.
  • Whether inventory endpoints gain event-driven hooks or native policy enforcement for stale and overprivileged credentials.
  • Whether GitHub documents the precise removal status of legacy inventory list/item endpoints and changes asynchronous export quotas.

Still unclear

  • GitHub does not quantify propagation time for credential revocation across all services.
  • The September announcement describes inventory visibility and metadata but not an automatic policy engine that revokes credentials based on those fields.
  • GitHub Enterprise Server support is promised for upcoming releases but the announcement does not name a specific version.
  • The documentation gives an October 2 removal date for legacy endpoints, but this review did not test live endpoint availability.
  • The current export documentation describes only a small number of exports per enterprise per day, without a fixed published quota.

Sources

Direct reading behind this dossier.

5 sources

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment