-
Notifications
You must be signed in to change notification settings - Fork 10
PG-1607 Make Vault CA path optional and clean up HTTPS code in general for Vault #392
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
Conversation
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.
docs approved, just a note that the readme.md file will change, as it contains outdated info, and it will point the user to the docs we already have on the net for RC2. Doesn't stop the merge though.
a950d68
to
cba6c9e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❌ Your project status has failed because the head coverage (85.28%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## TDE_REL_17_STABLE #392 +/- ##
=====================================================
+ Coverage 85.20% 85.28% +0.07%
=====================================================
Files 22 22
Lines 2534 2534
Branches 384 385 +1
=====================================================
+ Hits 2159 2161 +2
+ Misses 301 299 -2
Partials 74 74
🚀 New features to boost your workflow:
|
5a296dc
to
2f2422a
Compare
Instead of forcing people put NULL in the field when using HTTP we allow them to leave out the function argument.
…e_key_provider Also do not rely on the Vault server setup since any file on disk will do.
This is a very basic test but before this there were no tests at all.
Since the dev mode of Vault supports generating HTTPs ceritficates we should just use that since in production everyone will use HTTPS we should run our tests with HTTPS too.
We should encourage HTTPS over HTTP in out examples.
2f2422a
to
bc15fd3
Compare
Closing this PR, at least for now, due to discussions about alternative solutions. |
Instead of inputting
NULL
into thevault_ca_path
argument we allow users to just leave it out. But additionally we fix our tests to always use HTTPS and update the documentation examples to prefer HTTPS over HTTP: