Share feedback
Answers are generated based on the documentation.

docker pass plugins 1password

DescriptionManage the 1Password SDK plugin.
Usagedocker pass plugins 1password

Experimental

This command is experimental.

Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.

Description

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 with op://.

Matching for the title-based forms follows 1Password's normalization rules and is case-insensitive, so existing op:// references can be reused as-is.

Examples

Install the service account token and enable the plugin:

echo "$OP_SERVICE_ACCOUNT_TOKEN" | docker pass plugins 1password setup

Remove the token and disable the plugin:

docker pass plugins 1password purge

Subcommands

CommandDescription
docker pass plugins 1password purgeDisable the plugin and remove the stored 1Password service account token.
docker pass plugins 1password setupSet the 1Password service account token and enable the plugin.