docker pass plugins 1password
| 内容説明 | Manage the 1Password SDK plugin. |
|---|---|
| 利用方法 | docker pass plugins 1password |
試験的
このコマンドは試験的なものです。
試験的機能はテスト向けに意図されたものであり、その機能に関してのフィードバックを得る目的があります。 この機能はリリース時に予告なく変更される場合があり、また今後のリリースに向けて削除されることがあります。
内容説明
Manage the 1password-sdk plugin, which resolves secret references against 1Password through the official 1Password SDK.
The plugin authenticates with a service account token scoped to the vaults you want to expose. The token is stored in the local OS keychain. Use the subcommands to install the token (and enable the plugin) or to remove it (and disable the plugin).
Items reachable through this plugin are matched under any of:
- the raw 1Password item ID,
<vault-id>/<title>,<vault-name>/<title>,- a native 1Password secret-reference path (
<vault>/<item>/<field>or<vault>/<item>/<section>/<field>), resolved directly via the SDK as if prefixed withop://.
Matching for the title-based forms follows 1Password's normalization rules and is case-insensitive, so existing op:// references can be reused as-is.
利用例
Install the service account token and enable the plugin:
echo "$OP_SERVICE_ACCOUNT_TOKEN" | docker pass plugins 1password setupRemove the token and disable the plugin:
docker pass plugins 1password purgeサブコマンド
| コマンド | 内容説明 |
|---|---|
docker pass plugins 1password purge | Disable the plugin and remove the stored 1Password service account token. |
docker pass plugins 1password setup | Set the 1Password service account token and enable the plugin. |