Configuring plugin fails with unhelpful message if api_addr
is not set
#89
Labels
help wanted
Extra attention is needed
api_addr
is not set
#89
If
api_addr
is not set in Vault config, then an error is thrown when trying to configure plugin:Note the error
"no vault api_addr found"
above.At first I thought
api_addr
was only needed with cluster backends. Took me some time before I found a message in the docs that This value is also used for plugin backends.Perhaps not so much an issue with this plugin, but what's rather confusing is that Vault itself works just fine without this parameter (with
file
backend). In particular, I can see a log message that actually suggests it implies the value (presumably from bind address):A second issue was that API call itself returned an unhelpful message:
Log messages above suggest there may have been a change in the plugin protocol that caused the error to fail propagating?
The text was updated successfully, but these errors were encountered: