vault
vault copied to clipboard
Vault Agent Auto Join Method
Is your feature request related to a problem? Please describe.
so we have enable vault as secret backend for consul...
then we didn't want to use loadbalancer and or dns domain for our vault server
and we found out that vault agent mode, didn't have auto join method, in many example in the consul / vault docs, its usually using consul dns / service discovery like vault.global.consul
.
but because our vault server depends on consul client, and consul server depend on vault. we can't use the consul dns to connect to vault., because of that we think we can use cloud auto-join like in consul, but currently its not
Describe the solution you'd like enable auto join method in vault agent mode like consul, using go-discover
Describe alternatives you've considered
- currently didn't think any other working method
Explain any additional use-cases
- use vault without consul as dependency, avoid circular dependency
- when we have vault as consul dependency
- when we can't use loadbalancer in from of it
- when we can't use dns in from of it
Additional context