Problem
coder.useKeyring currently defaults to true on macOS/Windows, which has unintended side effects: logging out of the IDE logs out the CLI and vice versa, since they share the same keyring entry. Additionally, tokens are only written to the keyring when connecting to a workspace, not at login time — so the CLI doesn't pick them up until a workspace connection occurs.
Proposed Changes
- Default
coder.useKeyring to false (opt-in) due to shared logout side effects
- Update the setting description to document sync behavior and version requirements
- Store token to the OS keyring at login time so the CLI picks it up immediately
- Show a cancellable progress notification for CLI keyring invocations during login
Problem
coder.useKeyringcurrently defaults totrueon macOS/Windows, which has unintended side effects: logging out of the IDE logs out the CLI and vice versa, since they share the same keyring entry. Additionally, tokens are only written to the keyring when connecting to a workspace, not at login time — so the CLI doesn't pick them up until a workspace connection occurs.Proposed Changes
coder.useKeyringtofalse(opt-in) due to shared logout side effects