-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hi - This is my command history from a session trying to use the 1password vault plugin to compile and install it in my Vault 1.5.0 cluster on CentOS 7. The errors indicate that the plugin is incompatible with this version Vault.
$ go build -o vault/plugins/op-connect .
$ cp vault/plugins/op-connect /path/to/vault_plugins/op-connect
$ systemctl reload vault
$ vault plugin register -sha256=sha256sum /path/to/vault_plugins/op-connect |cut -d ' ' -f1
secret op-connect
Success! Registered plugin: op-connect
$ vault secrets enable --plugin-name='op-connect' --path="op2" plugin
Success! Enabled the op-connect secrets engine at: op2/
$ vault write op2/config @op-connect-config.json
Error writing data to op2/config: Error making API request.
URL: PUT https://myvaultserver.domain.com:8200/v1/op2/config
Code: 500. Errors:
- 1 error occurred:
* internal error
$ vault secrets disable op2/
Error disabling secrets engine at op2/: Error making API request.
URL: DELETE https://myvaultserver.domain.com:8200/v1/sys/mounts/op2
Code: 400. Errors:
- Unrecognized remote plugin message:
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol.