1Password Connect secrets provider for Docker
407
1Password Connect secrets provider for Docker
Connects to an 1Password Connect instance to fetch and provide secrets to containers.
Install the plugin:
docker plugin install wwmoraes/op-secret-plugin:$(uname -m)-latest \
--alias op \
--grant-all-permissions \
OP_CONNECT_HOST=https://op-connect-host:8080 \
OP_CONNECT_TOKEN_FILE=/run/secrets/op/token
If you need to use a plaintext token, replace OP_CONNECT_TOKEN_FILE with
OP_CONNECT_TOKEN.
Create secrets using the --driver option:
docker secret create -d op \
-l connect.1password.io/vault=bar \
-l connect.1password.io/item=baz \
-l connect.1password.io/field=qux \
-l connect.1password.io/reusable=false \ # optional, defaults to true
foo
Note: Creation works if the secret doesn't exist on 1Password. It'll be checked on each first mount, and will fail the service if missing.
Content type
Plugin
Digest
sha256:9446f9270…
Size
7.1 MB
Last updated
almost 4 years ago
docker plugin install wwmoraes/op-secret-plugin:x86_64-latest