Announcing a new open-source Java driver for the Vault HTTP API

551 views
Skip to first unread message

Steve Perkins

unread,
Jan 29, 2016, 4:51:04 PM1/29/16
to Vault
The company I work for is adding Vault and Consul to our production stack.  Therefore we wanted to write some reusable code, for working with Vault's HTTP API from our Java and Scala-based microservices.  

Engineering pitched the idea of open sourcing it to the community, and management has been very supportive.  So today we would like to announce its first release and ask for feedback!


I'm sure that multiple people are working on similar efforts, and saw that one was just linked on the Vault documentation site a couple of days ago.  However, there are two different Node.js community libraries listed, so hopefully the more the merrier on the Java side too!

Some things that might make this client worth checking out include:
  • This JAR has absolutely zero dependencies beyond the Java standard library.  You can use any other REST client or JSON parsing libraries you want in your projects, and this library won't cause conflicts with them.

  • We're striving for feature parity with the official Ruby client, and a similar feel.  We've implemented configurable retry-handling for all API calls, and are loading all of the same default configuration values from environment variables.

  • Basic read and write operations are currently implemented, as well as the ability to acquire tokens programmatically from the App ID or Username & Password auth backends.  The ultimate goal is to implement the full HTTP API.

  • There are 3 developers getting paid to work on this, and it will be used in production at scale, so it should be actively maintained.
Please let us know if you find any issues or have any suggestions!  Publication of the binary artifacts to Maven Central just went through today, so it may be another day before they appear in a Maven Central query.

Thanks!
Steve Perkins


Armon Dadgar

unread,
Jan 29, 2016, 5:08:49 PM1/29/16
to vault...@googlegroups.com, Steve Perkins
Awesome! Thanks for sharing, it’s always good to have more mature client libraries available.

Best Regards,
Armon Dadgar
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/c4672e34-1db2-4d35-84e7-2192246b708c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeff Mitchell

unread,
Jan 29, 2016, 9:00:11 PM1/29/16
to vault...@googlegroups.com, Steve Perkins
Hi Steve,

I'll get this added to our libraries page. Thanks!

--Jeff
> https://groups.google.com/d/msgid/vault-tool/etPan.56abe2ed.29b796cb.547%40Armons-MacBook-Air.local.
Reply all
Reply to author
Forward
0 new messages