Skip to content
项目

关于

为终端中的每个工具提供无缝身份验证。

安全与隐私

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Header

1Password Shell Plugins

Authenticate any CLI with your fingerprint

Get Started Build



No more plaintext credentials in your home directory. Automatically authenticate every CLI you use with 1Password CLI + Shell Plugins. Approve temporary credential usage in your terminal with biometrics.

By accessing or using 1Password Developer Tools, you agree to the API and SDK Terms of Service.

🪄 See it in action!

Example of 1Password Shell Plugins with AWS: user runs an `aws` command, a Touch ID prompt shows up, and `aws` is automatically authenticated

🚀 Get started with the available plugins

Picture changing depending on light mode.
See all...


🔩 Don’t see yours? Contribute! [BETA]

Is your favorite CLI not listed yet? Learn how to build a new plugin yourself and then open a PR on this repository to get it included in the 1Password CLI!

For the contribution guidelines, see CONTRIBUTING.md.

Quick start: clone or fork this repo and run

make new-plugin

Still not sure where or how to begin? We're happy to help! You can:

Advanced Configuration

Managing shell plugins in your own dotfiles

By default, op plugin init writes its configuration to ~/.config/op/plugins.sh and manages that file for you. If you'd rather keep your plugin configuration in your own dotfiles (for example, tracked in version control), you can define the shell functions yourself and source them in your shell's configuration file.

Step 1: Define the plugin functions

Shell functions for each shell should follow this pattern. In this case,

bash / zsh

gh() {
  op plugin run -- gh "$@"
}

fish

function gh --wraps gh --description "1Password shell plugin for GitHub CLI"
  op plugin run -- gh $argv
end

Step 2: Tell op your plugins are already configured

Set OP_PLUGIN_ALIASES_SOURCED=1 so 1Password CLI knows the shell plugins have already been set up:

bash / zsh

export OP_PLUGIN_ALIASES_SOURCED="1"

fish

set -x OP_PLUGIN_ALIASES_SOURCED 1

Note: op plugin init <plugin> edits ~/.config/op/plugins.sh directly and won't update your own dotfiles, so configure plugins manually as shown above.

💙 Community & Support

探索相关项目

加载中…