Files
codex/codex-rs/cli
Alvin 0f5e7be1a7 Show workload identity account details in login status (#65317)
## Why

`codex login status` confirms that workload identity is active, but its
generic status line leaves users unable to tell which identity Codex is using.

## What changed

- For ChatGPT, show the principal ID, workspace ID, and account email when
  available.
- For API access, show the service account ID and project ID.

Read these details from cached authentication metadata and keep the generic
status line when account details are unavailable.

## Testing

Add output snapshots for ChatGPT identities with and without an email and
for API service accounts.

GitOrigin-RevId: a0fb2aafff4a52a2e890e324e939b132c59f5831
2026-12-02 19:25:53 +00:00
..