BetterCloud / vault-java-driver

Zero-dependency Java client for HashiCorp's Vault
https://bettercloud.github.io/vault-java-driver/
335 stars 224 forks source link

fixing bulk requests in the transit api #195

Closed TariqAbughofa closed 4 years ago

TariqAbughofa commented 4 years ago

The transit api fails on bulk requests since the write function in Logical expects only a scalar type and not a JsonValue. The problem can be seen by commenting my fix and running the tests I added.

The fix will allow transit bulk APIs to work as well as any current of future vault requests that have a nested JSON in the request.

steve-perkins commented 4 years ago

Thanks!