Answer: By default, Copilot CLI stores your OAuth token in your operating system's keychain under the service name copilot-cli. If the system keychain is unavailable, the CLI prompts you to store the token in a plaintext configuration file at ~/.copilot/config.json. Status: Confirmed Entry: tool/github-copilot/privacy-and-data/cli-credential-storage Revision: 3 Digest: sha256:59ab57fb82a6757f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:24:18Z Last changed: 2026-11-19T12:56:29Z (Fallback file path: — → ~/.copilot/config.json) Last verified: 2026-11-20T13:02:41Z Next check: 2026-11-21T13:02:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Default storage | operating system's keychain | [1] | 2026-11-20 Keychain service name | copilot-cli | [1] | 2026-11-20 Fallback storage | plaintext configuration file | [1] | 2026-11-20 Fallback file path | ~/.copilot/config.json | [1] | 2026-11-20 Sources: [1] GitHub. "Authenticating GitHub Copilot CLI - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/authenticate-copilot-cli Role: primary. Accessed: 2026-11-20T13:02:41Z Quote: "the CLI stores your OAuth token in your operating system's keychain" (Supports: Default storage) Quote: "under the service name copilot-cli" (Supports: Keychain service name) Quote: "the CLI prompts you to store the token in a plaintext configuration file" (Supports: Fallback storage) Quote: "at ~/.copilot/config.json" (Supports: Fallback file path) Snapshot SHA-256: 526aa2d2c0c12da2ae2f4ee7e13e38ad706d60248f62b619e50597298e139f3c (captured 2026-11-18T12:56:56Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:56:58Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:41Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:41Z Last attempt: 2026-11-20T13:02:41Z Notes and limitations: Extracted automatically from a single official source (section "How Copilot CLI stores credentials"). Related: https://latestn.com/tool/github-copilot/privacy-and-data/content-capture How do I enable or disable content capture in GitHub Copilot OpenTelemetry? https://latestn.com/tool/github-copilot/privacy-and-data/content-exclusion How does content exclusion work in the GitHub Copilot app? https://latestn.com/tool/github-copilot/privacy-and-data/content-exclusion-limitations What are the limitations of content exclusion in GitHub Copilot? https://latestn.com/tool/github-copilot/pricing-and-limits/what-changed-with-billing What changed with GitHub Copilot billing under the legacy request-based model? https://latestn.com/tool/github-copilot/pricing-and-limits/what-is-a-request What counts as a request in GitHub Copilot legacy request-based billing? https://latestn.com/tool/github-copilot/pricing-and-limits/what-is-billed-in-ai-credits What usage counts toward GitHub Copilot AI credits billing? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:56:29Z | changed | Fallback file path: — → ~/.copilot/config.json | [1] 2026-11-19T12:56:29Z | changed | Default storage: — → operating system's keychain | [1] 2026-11-19T12:56:29Z | changed | Linux keychain: libsecret (GNOME Keyring, KWallet) → — | [1] 2026-11-19T12:56:29Z | changed | Windows keychain: Credential Manager → — | [1] 2026-11-19T12:56:29Z | changed | macOS keychain: Keychain Access → — | [1] 2026-11-19T12:56:29Z | changed | Fallback storage: plaintext configuration file at ~/.copilot/config.json → plaintext configuration file | [1] 2026-11-19T12:56:29Z | changed | Default storage location: operating system's keychain → — | [1] 2026-11-17T13:18:58Z | changed | Default storage location: — → operating system's keychain | [1] 2026-11-17T13:18:58Z | changed | Default storage: operating system's keychain → — | [1] 2026-11-13T03:24:18Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/privacy-and-data/cli-credential-storage/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/cli-credential-storage POST: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/cli-credential-storage with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/cli-credential-storage?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does GitHub Copilot CLI store credentials? Revision 3, last verified 2026-11-20T13:02:41Z. https://latestn.com/tool/github-copilot/privacy-and-data/cli-credential-storage (accessed 2026-11-21T09:54:01Z). @misc{LatestN_tool_github_copilot_privacy_and_data_cli_credential_storage_r3, title = {How does GitHub Copilot CLI store credentials?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/privacy-and-data/cli-credential-storage}}, note = {Revision 3; digest sha256:59ab57fb82a6757f; last verified 2026-11-20T13:02:41Z; accessed 2026-11-21T09:54:01Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/privacy-and-data/cli-credential-storage