-
Notifications
You must be signed in to change notification settings - Fork 55
Plugin init fails to retrieve vault addr #2
Comments
From what I see in vault's tls.go, may be this issue should have been created in the vault's repo... |
Hey @frntn Thank you for opening an issue, and I'm sorry this is not working as expected. Sadly this looks a bit outside of my expertise. I'm going to ask @calvn to take a look at this. I used the same setup function as the GCP auth backend. Just to help in debugging - does it work for you when you don't use TLS? |
Also, just a note, Calvin and I are based in the US where the Thanksgiving holiday is taking place. While we aim to get you the fastest response, many of us are spending time with family and friends so our reply may be delayed. Sorry! 🦃 |
Sorry I have just noticed the question about TLS ! Happy holidays 🦃 😄 |
@frntn Could you try setting the |
@briankassouf
|
When attempting to add this setting to my existing configuration file...
The vault server starts and the plugin is now working correctly 👍 :
Tried both with HA (consul) and non-HA (filesystem) backends successfully |
Turns out the documentation is :
Anyway : Thanks for your help ! 😄 |
PS: could you reference this issue if you plan to fix the documentation and/or the plugin system so I can follow along ? I am actually setting a whole "Security as a Service" in my company based on vault, and I'd like to be notified on the changes on this point. PPS: kudos for the excellent software ! |
@sethvargo I have tried and can now confirm it's working great without TLS ✅ But It's not working in dev mode (for quick tests) because there is no default value nor environment variable override for the
|
In dev mode, you can either pass in -config and point to a configuration file containing only the |
All the parameters under the “Vault Configuration” page, including those in the High Availability parameters sub-section deal with top-level values. However, I can see how it can be misleading since the HA-related parameters are in their own sub-section. |
Thank you all. |
Context
Starting from a pretty straightforward config file :
And using latest available vault release on ubuntu :
What I do
After starting the server, and init/unseal/auth from the client side I follow the project's README to init the plugin system
Finally I try to use the plugin :
What I expect
I expect the plugin to give me a 4 word length passphrase.
What I get
I get an error message :
The text was updated successfully, but these errors were encountered: