Linux command
op 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Sign in
op signin
List vaults
op vault list
Get item
op item get "[item_name]"
Get password
op item get "[item_name]" --field password
Create item
op item create --category login --title "[name]"
List items
op item list
说明
op is the 1Password CLI. Manages passwords and secrets from terminal. The tool provides secure credential access. Integrates with shells and scripts.
参数
- signin
- Authenticate to 1Password.
- vault list
- List vaults.
- item get _NAME_
- Get item details.
- item list
- List items.
- item create
- Create new item.
- --field _FIELD_
- Get specific field.
- --help
- Display help information.
FAQ
What is the op command used for?
op is the 1Password CLI. Manages passwords and secrets from terminal. The tool provides secure credential access. Integrates with shells and scripts.
How do I run a basic op example?
Run `op signin` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does signin do in op?
Authenticate to 1Password.