2020-01-17 19:18:09 -05:00
---
layout: api
page_title: 'HTTP API: Libraries'
description: >-
List of official and community contributed libraries for interacting with the
Vault HTTP API.
---
2025-07-22 11:12:22 -04:00
> [!IMPORTANT]
> **Documentation Update:** Product documentation, which were located in this repository under `/website`, are now located in [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs), colocated with all other product documentation. Contributions to this content should be done in the `web-unified-docs` repo, and not this one. Changes made to `/website` content in this repo will not be reflected on the developer.hashicorp.com website.
2020-01-17 19:18:09 -05:00
# Libraries
The programming libraries listed on this page can be used to consume the API more conveniently.
Some are officially maintained while others are provided by the community.
2023-01-25 19:12:15 -05:00
For a step-by-step walkthrough on using these client libraries, see the [developer quickstart](/vault/docs/get-started/developer-qs).
2022-06-30 11:50:35 -04:00
For copy-pastable code examples, see the [vault-examples](https://github.com/hashicorp/vault-examples) repo.
2021-10-05 13:15:01 -04:00
2020-01-17 19:18:09 -05:00
## Official
These libraries are officially maintained by HashiCorp.
### Go
2021-09-24 13:01:13 -04:00
- [Vault Go Client](https://github.com/hashicorp/vault/tree/main/api)
2020-01-17 19:18:09 -05:00
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ go get github.com/hashicorp/vault/api
```
2021-12-22 12:33:12 -05:00
[Example application](https://github.com/hashicorp/hello-vault-go)
2021-10-05 13:15:01 -04:00
2020-01-17 19:18:09 -05:00
### Ruby
2024-04-24 12:28:49 -04:00
@include 'alerts/deprecated.mdx'
2020-01-17 19:18:09 -05:00
- [Vault Ruby Client](https://github.com/hashicorp/vault-ruby)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ gem install vault
```
## Community
These libraries are provided by the community.
### Ansible
2023-07-20 01:26:02 -04:00
- [ansible-vault](https://github.com/jhaals/ansible-vault) - Lookup plugin without third-party dependencies.
2020-01-17 19:18:09 -05:00
- [Ansible Modules Hashivault](https://pypi.python.org/pypi/ansible-modules-hashivault)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ pip install ansible-modules-hashivault
```
### C#
2023-08-15 15:24:40 -04:00
- [VaultSharp](https://github.com/rajanadar/VaultSharp)
2024-09-24 12:20:08 -04:00
- Supports .NET 4.6.x, 4.7.x, 4.8.x, .NET Standard 2.x, .NET 6.0, 7.0, and 8.0.
- Supports every auth and secret backend supported by Vault, along with several system APIs.
2020-01-17 19:18:09 -05:00
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ Install-Package VaultSharp
```
- [Vault.NET](https://github.com/Chatham/Vault.NET)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ Install-Package Vault
```
2022-02-04 15:28:43 -05:00
[Example application](https://github.com/hashicorp/hello-vault-dotnet)
2020-01-17 19:18:09 -05:00
### C++
- [libvault](https://github.com/abedra/libvault)
### Clojure
- [vault-clj](https://github.com/amperity/vault-clj)
### Elixir
- [libvault](https://hex.pm/packages/libvault)
- [vaultex](https://hex.pm/packages/vaultex)
2020-03-24 17:21:56 -04:00
### Erlang
- [canal](https://github.com/rkallos/canal)
2020-01-17 19:18:09 -05:00
### Go
2021-06-11 14:11:01 -04:00
- [vaultgo](https://github.com/mittwald/vaultgo)
```shell-session
$ go get github.com/mittwald/vaultgo
```
2020-01-17 19:18:09 -05:00
### Haskell
- [vault-tool](https://hackage.haskell.org/package/vault-tool)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ cabal install vault-tool
```
- [gothic](http://hackage.haskell.org/package/gothic)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ stack install gothic
```
### Java
2024-06-03 09:59:47 -04:00
- [Quarkus Vault](https://github.com/quarkiverse/quarkus-vault)
2020-01-17 19:18:09 -05:00
- [Spring Vault](https://github.com/spring-projects/spring-vault)
2023-04-25 05:08:05 -04:00
- [vault-java-driver](https://github.com/jopenlibs/vault-java-driver)
2020-01-17 19:18:09 -05:00
### Kotlin
2024-03-22 18:26:17 -04:00
- [kault](https://github.com/Hansanto/kault)
2020-01-17 19:18:09 -05:00
- [vault-kotlin](https://github.com/kunickiaj/vault-kotlin)
### Node.js
- [node-vault](https://github.com/kr1sp1n/node-vault)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ npm install node-vault
```
2024-04-02 15:54:28 -04:00
- [node-vault](https://github.com/shahradelahi/node-vault) (Typescript)
```shell-session
$ npm install @litehex/node-vault
```
2021-06-11 14:11:01 -04:00
- [vaulTS](https://github.com/mittwald/vaulTS) (Github NPM Registry)
```shell-session
$ npm install @mittwald/vaults
2021-12-14 13:32:26 -05:00
```
- [vault-api](https://github.com/SaiHemanthBR/vault-api) (Typescript. Axios-like API)
```shell-session
$ npm install vault-api
2021-06-11 14:11:01 -04:00
```
2023-06-22 16:23:01 -04:00
- [loopback4-vault](https://github.com/sourcefuse/loopback4-vault) (LoopBack 4 Extension)
```shell-session
$ npm i @sourceloop/vault
```
2020-01-17 19:18:09 -05:00
### PHP
- [vault-php-sdk](https://github.com/jippi/vault-php-sdk)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ composer require jippi/vault-php-sdk
```
- [vault-php-sdk](https://github.com/violuke/vault-php-sdk) extended from jipppi
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ composer require violuke/vault-php-sdk
```
- [vault-php](https://github.com/CSharpRU/vault-php)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ composer require csharpru/vault-php
```
2021-06-11 14:11:01 -04:00
- [vault-php](https://github.com/mittwald/vaultPHP)
```shell-session
$ composer require mittwald/vault-php
```
2020-01-17 19:18:09 -05:00
### PowerShell
- [Zyborg.Vault](https://github.com/zyborg/Zyborg.Vault)
```PowerShell
Install-Module Zyborg.Vault
```
### Python
- [HVAC](https://github.com/ianunruh/hvac)
2020-05-21 13:18:17 -04:00
```shell-session
2020-01-17 19:18:09 -05:00
$ pip install hvac
```
### R
- [vaultr](https://github.com/vimc/vaultr)
### Rust
- [HashicorpVault](https://crates.io/crates/hashicorp_vault)
2022-01-28 12:02:31 -05:00
- [vaultrs](https://crates.io/crates/vaultrs)
2020-01-17 19:18:09 -05:00
### Scala
- [scala-vault](https://github.com/janstenpickle/scala-vault)
2024-04-24 12:28:49 -04:00
## Experimental
### C#
- [Vault DotNet Client](https://github.com/hashicorp/vault-client-dotnet) -
Note that this is an experimental approach to auto-generating libraries from
OpenAPI content and is not production-ready. We do not have plans to make
this production-ready at this time.
```shell-session
# Install-Package HashiCorp.Vault
```
[Example application](https://github.com/hashicorp/vault-client-dotnet#getting-started)