Skip to content

feat: add secure credential storage via OS keyring#66

Open
mquandalle wants to merge 1 commit intoazerpas:mainfrom
mquandalle:feat/keyring-credential-storage
Open

feat: add secure credential storage via OS keyring#66
mquandalle wants to merge 1 commit intoazerpas:mainfrom
mquandalle:feat/keyring-credential-storage

Conversation

@mquandalle
Copy link
Contributor

@mquandalle mquandalle commented Jan 7, 2026

Asked @claude to give a shot at #63. I tested locally and it works as expected, at least before I was blocked by #61

Summary

  • Add support for storing passwords securely using the OS native keyring (macOS Keychain, Windows Credential Manager, Linux Secret Service)
  • Enable automated/cron usage without interactive password prompts
  • New CLI options for credential management

New Commands

# Store password in OS keyring
bourso config --save-password

# Show current configuration status  
bourso config --show

# Remove password from keyring
bourso config --delete-password

Password Resolution

Fallback chain:

  1. OS keyring (if available)
  2. settings.json (backward compatibility, with migration warning)
  3. Interactive prompt (or error if non-interactive/cron)

Platform Support

  • macOS: Keychain
  • Windows: Credential Manager
  • Linux: Secret Service (GNOME Keyring, KWallet)

Closes #63

🤖 Generated with Claude Code

Add support for storing passwords securely using the operating system's
native keyring (macOS Keychain, Windows Credential Manager, Linux Secret
Service). This enables automated/cron usage without interactive prompts.

New CLI options:
- `bourso config --save-password`: Store password in OS keyring
- `bourso config --delete-password`: Remove password from keyring
- `bourso config --show`: Display current configuration status

Password resolution now follows a fallback chain:
1. OS keyring (if available)
2. settings.json (backward compatibility, with migration warning)
3. Interactive prompt (or error if non-interactive)

Closes azerpas#63

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mquandalle mquandalle marked this pull request as ready for review January 7, 2026 19:19
@azerpas
Copy link
Owner

azerpas commented Jan 7, 2026

Once again, awesome thanks! I'll check this out after #67 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support secure password storage via OS keychain

2 participants