node-vault
node-vault copied to clipboard
Connect to a HA vault
In an HA environment we will have multiple node (ex. https://a.vault.mycompany.com:8200, https://b.vault.mycompany.com:8200, ...). Because that library support only one endpoint I'm wondering what's the best practice here?
- Should endpoint support an array of nodes where we replay the request to another node in case of a failure?
- According to https://www.vaultproject.io/docs/concepts/ha.html#behind-load-balancers a load balancer isn't the best solution, ...
- Round robin DNS?
- Should we install the vault agent locally and use
https://localhost:8200as endpoint?
Thanks!