sethvargo/vault-secrets-gen

Error disabling the plugin

bbaassssiiee opened this issue · 9 comments

Vault 1.2.2
plugin: 0.0.4

image

Hmm. What happens if you try to disable the plugin via the CLI?

[vagrant@server01 ~]$ /usr/local/bin/vault secrets disable gen/
Error disabling secrets engine at gen/: Error making API request.

URL: DELETE https://server01.consul:8200/v1/sys/mounts/gen
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.
[vagrant@server01 ~]$ /usr/local/bin/vault secrets disable gcp/
Success! Disabled the secrets engine (if it existed) at: gcp/

Can you try Vault 1.2.3? I think I built against that version...

Same error.

I just tested and I'm unable to reproduce this on the released version.

$ vault secrets disable gen
Success! Disabled the secrets engine (if it existed) at: gen/```

For clarity: vault 1.2.3 and vault-secrets-gen 0.0.4?

I have to build against Vault v1.3.0-dev ('2b8aeb10cc859b5369781b7ad4a45fc774817a09').

But I just tested against 1.2.3 build:

$ vault -v
Vault v1.2.3

$ vault secrets disable gen
Success! Disabled the secrets engine (if it existed) at: gen/

Works for me with Vault 1.2.2 and vault-secrets-gen 0.0.4?