Touch ID
The Vault CLI supports Touch ID on macOS for quick vault access.
How It Works
- First Access: You enter your master password
- Keychain Storage: Password stored in macOS Keychain
- Subsequent Access: Touch ID unlocks keychain
- Fallback: Password prompt if Touch ID fails
Setup
Touch ID is configured automatically on first vault access:
# First time - prompts for master password
pwm entry list
# Enter master password: ********
# ✓ Master password saved to keychain
# Next time - Touch ID prompt
pwm entry list
# 🔐 Touch ID: PWM wants to access your vault
# ✓ AuthenticatedRequirements
- macOS with Touch ID sensor
macos-touchidNode.js package (included)- Keychain access permission
Disable Touch ID
Use the --password flag to bypass Touch ID:
pwm entry list --passwordOr remove the stored password:
# Remove from keychain
security delete-generic-password -s "pwm-vault"Security
- Master password is stored in the macOS Secure Enclave
- Accessible only with your biometric
- Never transmitted over the network
- Protected by macOS security model
Troubleshooting
Touch ID Not Working
- Check Touch ID is enabled in System Preferences
- Ensure terminal has Keychain access
- Try
--passwordflag to bypass
Permission Denied
Grant terminal access in System Preferences > Security & Privacy > Privacy > Accessibility
Reset Touch ID
# Delete stored credential
security delete-generic-password -s "pwm-vault"
# Next vault access will prompt for password
pwm entry list