-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable TLS based communication with Zookeeper Backend #4856
Enable TLS based communication with Zookeeper Backend #4856
Conversation
…eeper backend when 'tls_enabled' is set to true in config
…le TLS connection to Zookeeper backend
@jefferai @briankassouf @chrishoffman @palsaurabh2005 |
@jefferai @briankassouf @chrishoffman |
Generally speaking it would be nice if other zk storage users reviewed this. You may want to poke some of the people that have contributed to the backend in the past. |
Thanks Jeff. I see there is just one user @Andrewg-674 who has validated this PR. I am mentioning them here again, hoping to catch their attention: |
- `tls_enabled` `(bool: false)` – Specifies if TLS communication with the Zookeeper | ||
backend has to be enabled. | ||
|
||
- `tls_ca_file` `(string: "")` – Specifies the path to the CA certificate used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth noting that this supports multiple CA's in a single file which is useful for rotation before they expire.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added additional description with Commit:
palsaurabh2005@3749e91
Looks good to me, one comment on documentation around the CA file. |
…ion indicating support for multiple Root CAs in a single file has been added
Thanks for reviewing this @kenbreeman. As per your comment I have added some more info for the CA cert file usage and its ability to support multiple CA certs in a single file. cc: @jefferai @chrishoffman @briankassouf @devth @reegz @vixns @sherzberg @elupu |
@@ -66,16 +66,11 @@ znodes and, potentially, take Vault out of service. | |||
ip:70.95.0.0/16 | |||
``` | |||
|
|||
- `auth_info` `(string: "")` – Specifies an authentication string in Zookeeper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
auth_info is removed in this commit since it was incorrectly committed as a duplicate in a previous commit.
Hello @jefferai Thanks. |
@jefferai @vishalnayak
So existing integrations that do not have this "tls_enabled" will work as expected without any impact from this change. |
…ure/vault-zk-mtls-support
@briankassouf |
With this PR I am pushing changes that will allow Vault to communicate with the Zookeeper backend using TLS.
Description for Configuration changes is added to the readme