Unverified50% confidenceFactExact time
Anthropic's documentation mentions that when Keychain refuses a write (for example, when Keychain is locked in an SSH session), macOS falls back to the ~/.claude/.credentials.json file.
1
Sources
50%
Confidence
Long-term
Relevance
10/17/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedOn macOS, Claude Code's login information is stored in the encrypted macOS Keychain; on Linux it is ~/.claude/.credentials.json (file permissions 0600), and on Windows it is %USERPROFILE%\.claude\.credentials.json.76% similarUnverifiedThe system Keychain (macOS) and Credential Manager (Windows) are encrypted and access-controlled by the operating system kernel, and applications can only read and write their own entries through system APIs74% similarUnverifiedModern browsers' cookies are often bound to device keys (such as encryption keys in macOS Keychain), and EgoLite must be on the same device to correctly decrypt and use credentials.72% similarUnverifiedIn the past, credential migration could be completed simply by copying the ~/Library/Keychains/login.keychain-db file from one Mac to another71% similarUnverifiedShipHappens saves users' keys in the system's Keychain rather than uploading them to third-party servers.71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1050763API
curl https://kongchang.com/api/v1/knowledge/claims/1050763MCP
get_claim(id=1050763)