Repository navigation
Changed write method from PUT to POST - #156
Conversation
Codecov Report
@@ Coverage Diff @@
## master #156 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 146 146
Branches 37 37
=========================================
Hits 146 146
Continue to review full report at Codecov.
|
8c3d9a8 to
71c65ba
Compare
1d36900 to
0e4c6cb
Compare
|
please resolve conflicts :) |
aviadhahami
left a comment
There was a problem hiding this comment.
conflicting changes
Signed-off-by: Owen Farrell <owen.farrell@gmail.com>
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #156 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 141 141
=========================================
Hits 141 141
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
aviadhahami
left a comment
There was a problem hiding this comment.
lgtm! Thx for your contribution!
Per the Vault API, version 1 of the K/V engine supports both PUT and POST methods when creating/updating secrets. But version 2 of the K/V engine only support POST.
This change updates the method used to write data from PUT to POST in order to provide better continuity for the K/V secrets engine, as well as align with other engines (AWS, Azure, GCP, et. al.) that only support POSTs.