Open morganBlanloeil opened 1 week ago
Thanks @morganBlanloeil for filing the issue. I've confirmed what you are seeing. A few extra notes on the issue.
vault secrets enable ...
command.detailed
section of the GET http://127.0.0.1:8200/v1/sys/plugins/catalog request but it does not show up within the data.secret
section of the response
a. This is why the registered plugin does appear in the output of vault plugin list secret
Describe the bug When we register a custom plugin, this plugin is not marked as secret plugin when we use vault API. This blocks the use of other endpoints like /sys/plugins/catalog/secret
To Reproduce Steps to reproduce the behavior:
vault plugin register sha256=<sample-sha-256> -command=<plugin-name> version=1.0.1 secret <plugin-name>
curl -H 'X-Vault-Token: <my-token>' --request LIST https://127.0.0.1:8200/v1/sys/plugins/catalog/secret
our plugin doest not appearExpected behavior
Plugin should be marked as secret plugin. To Bypass we need to register plugin first without version !
Environment:
Thanks!