You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement db save-password command with role support
Add new command to save database passwords with support for different
database roles. Passwords can be provided via three methods:
1. --password=value flag (highest precedence)
2. TIGER_NEW_PASSWORD environment variable
3. Interactive prompt (when neither provided)
The command stores passwords according to the --password-storage
setting (keyring, pgpass, or none) and supports saving passwords
for different database roles independently.
Features:
- Save passwords for any database role (default: tsdbadmin)
- Three input methods with clear precedence
- Integration with existing password storage system
- Comprehensive test coverage for all input methods
Example usage:
tiger db save-password svc-12345 --password=mypass
tiger db save-password svc-12345 --role readonly
tiger db save-password svc-12345 # prompts interactively
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments