Expand description
Whether macOS has a login keychain the Claude CLI can store a sign-in in.
The CLI keeps its credential in the user’s default keychain. Under a HOME with no login keychain (the app
started with HOME pointed at a scratch folder, or an ssh-only or service account) macOS opens its own “Keychain
Not Found” dialog and the CLI waits on it, so a sign-in the person finished reads as “timed out”. This asks the
system with security default-keychain, which only reads: it never creates, resets or changes a keychain.
Constants§
- NO_
DEFAULT_ 🔒KEYCHAIN - The problem code the sign-in panel turns into words.
Functions§
- keychain_
problem 🔒 - The problem with the keychain
security default-keychainreported, if it is one. A default keychain is printed as a quoted path; one that was reported but is not on disk is as unusable as none. An answer that cannot be read is no verdict: nothing is blocked on a guess.