bank-vaults
bank-vaults copied to clipboard
Can't enable secret plugin in 1.15.0
Describe the bug: Hello! Since 1.15.0, I can't enable a secret plugin. I got the error :
{"level":"error","msg":"error configuring vault: error configuring secret engines for vault: error adding managed secrets engines: error mounting artifactory into vault: Error making API request.\n\nURL: POST http://vault.vault:8200/v1/sys/mounts/artifactory\nCode: 400. Errors:\n\n* plugin_name must be provided for plugin backend","time":"2022-02-17T15:58:11Z"}
If I roll back to 1.14.2, it works as attended.
It seems that the plugin_name is always empty.
Expected behaviour:
I can enable a secret plugin.
Steps to reproduce the bug:
My configuration :
secrets:
- path: artifactory
plugin_name: name
type: plugin
Thanks
/kind bug
Can this be the root cause? https://github.com/banzaicloud/bank-vaults/pull/1519 @aabouzaid ?
@pabardina could you please provide a full example to reproduce the issue?
Also is not a valid config:
secrets:
- path: artifactory
plugin_name: name
type: plugin
You need to set the actual plugin name in plugin_name
.
Ah, one more thing, please try to use v1.15.1 since there are some bug fixes that could affect the secrets engines.
@pabardina have you managed to get this resolved based on this information?
Thank you for your contribution! This issue has been automatically marked as stale
because it has no recent activity in the last 60 days. It will be closed in 20 days, if no further activity occurs. If this issue is still relevant, please leave a comment to let us know, and the stale
label will be automatically removed.