Linux command
pass-cli 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch the interactive TUI
pass-cli
Initialize a new vault
pass-cli init
Add a credential
pass-cli add [name] --url [https://example.com]
Retrieve a credential
pass-cli get [name]
Generate a random password
pass-cli generate --length [32]
说明
pass-cli is a secure, cross-platform password and API key manager for the command line. It stores credentials locally with AES-256-GCM encryption and provides both a non-interactive CLI and an interactive TUI mode. Designed for developers who need quick, script-friendly access to credentials without cloud dependencies.
参数
- init
- Initialize a new password vault.
- add _NAME_
- Add a new credential to the vault.
- get _NAME_
- Retrieve a credential by name.
- list
- Display all stored credentials.
- update _NAME_
- Modify an existing credential.
- delete _NAME_
- Remove a credential from the vault.
- generate
- Create a random password.
- vault backup create
- Create a manual vault backup.
- doctor
- Run vault health checks.
FAQ
What is the pass-cli command used for?
pass-cli is a secure, cross-platform password and API key manager for the command line. It stores credentials locally with AES-256-GCM encryption and provides both a non-interactive CLI and an interactive TUI mode. Designed for developers who need quick, script-friendly access to credentials without cloud dependencies.
How do I run a basic pass-cli example?
Run `pass-cli` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does init do in pass-cli?
Initialize a new password vault.