2020-01-18 00:18:09 +00:00
---
layout: api
page_title: 'HTTP API: Libraries'
description: >-
List of official and community contributed libraries for interacting with the
Vault HTTP API.
---
# 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-26 00:12:15 +00: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 15:50:35 +00:00
For copy-pastable code examples, see the [vault-examples](https://github.com/hashicorp/vault-examples) repo.
2021-10-05 17:15:01 +00:00
2020-01-18 00:18:09 +00:00
## Official
These libraries are officially maintained by HashiCorp.
### Go
2021-09-24 17:01:13 +00:00
- [Vault Go Client](https://github.com/hashicorp/vault/tree/main/api)
2020-01-18 00:18:09 +00:00
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ go get github.com/hashicorp/vault/api
```
2021-12-22 17:33:12 +00:00
[Example application](https://github.com/hashicorp/hello-vault-go)
2021-10-05 17:15:01 +00:00
2020-01-18 00:18:09 +00:00
### Ruby
- [Vault Ruby Client](https://github.com/hashicorp/vault-ruby)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ gem install vault
```
2023-07-20 05:42:11 +00:00
## C#
- [Vault DotNet Client](https://github.com/hashicorp/vault-client-dotnet) - Note that this is currently in early development, and is not yet production-ready.
```shell-session
# Install-Package HashiCorp.Vault
```
[Example application](https://github.com/hashicorp/vault-client-dotnet#getting-started)
2020-01-18 00:18:09 +00:00
## Community
These libraries are provided by the community.
### Ansible
2023-07-20 05:42:11 +00:00
- [ansible-vault](https://github.com/jhaals/ansible-vault) - Lookup plugin without third-party dependencies.
2020-01-18 00:18:09 +00:00
- [Ansible Modules Hashivault](https://pypi.python.org/pypi/ansible-modules-hashivault)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ pip install ansible-modules-hashivault
```
### C#
- [VaultSharp](https://github.com/rajanadar/VaultSharp) (.NET Standard 2.0 & 1.3, .NET Core >= 1.0.0, .NET 4.5, .NET 4.6, Mono, iOS, Android, Mac, UWP etc.)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ Install-Package VaultSharp
```
- [Vault.NET](https://github.com/Chatham/Vault.NET)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ Install-Package Vault
```
2022-02-04 20:28:43 +00:00
[Example application](https://github.com/hashicorp/hello-vault-dotnet)
2020-01-18 00:18:09 +00: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 21:21:56 +00:00
### Erlang
- [canal](https://github.com/rkallos/canal)
2020-01-18 00:18:09 +00:00
### Go
- [vc](https://github.com/adfinis-sygroup/vault-client)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ go get github.com/adfinis-sygroup/vault-client
```
2021-06-11 18:11:01 +00:00
- [vaultgo](https://github.com/mittwald/vaultgo)
```shell-session
$ go get github.com/mittwald/vaultgo
```
2020-01-18 00:18:09 +00:00
### Haskell
- [vault-tool](https://hackage.haskell.org/package/vault-tool)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ cabal install vault-tool
```
- [gothic](http://hackage.haskell.org/package/gothic)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ stack install gothic
```
### Java
- [Spring Vault](https://github.com/spring-projects/spring-vault)
2023-04-25 09:08:05 +00:00
- [vault-java-driver](https://github.com/jopenlibs/vault-java-driver)
2020-01-18 00:18:09 +00:00
### Kotlin
- [vault-kotlin](https://github.com/kunickiaj/vault-kotlin)
### Node.js
- [node-vault](https://github.com/kr1sp1n/node-vault)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ npm install node-vault
```
2021-06-11 18:11:01 +00:00
- [vaulTS](https://github.com/mittwald/vaulTS) (Github NPM Registry)
```shell-session
$ npm install @mittwald/vaults
2021-12-14 18:32:26 +00:00
```
- [vault-api](https://github.com/SaiHemanthBR/vault-api) (Typescript. Axios-like API)
```shell-session
$ npm install vault-api
2021-06-11 18:11:01 +00:00
```
2023-06-22 20:40:19 +00:00
- [loopback4-vault](https://github.com/sourcefuse/loopback4-vault) (LoopBack 4 Extension)
```shell-session
$ npm i @sourceloop/vault
```
2020-01-18 00:18:09 +00:00
### PHP
- [vault-php-sdk](https://github.com/jippi/vault-php-sdk)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ composer require jippi/vault-php-sdk
```
- [vault-php-sdk](https://github.com/violuke/vault-php-sdk) extended from jipppi
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ composer require violuke/vault-php-sdk
```
- [vault-php](https://github.com/CSharpRU/vault-php)
2020-05-21 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ composer require csharpru/vault-php
```
2021-06-11 18:11:01 +00:00
- [vault-php](https://github.com/mittwald/vaultPHP)
```shell-session
$ composer require mittwald/vault-php
```
2020-01-18 00:18:09 +00: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 17:18:17 +00:00
```shell-session
2020-01-18 00:18:09 +00:00
$ pip install hvac
```
### R
- [vaultr](https://github.com/vimc/vaultr)
### Rust
- [HashicorpVault](https://crates.io/crates/hashicorp_vault)
2022-01-28 17:02:31 +00:00
- [vaultrs](https://crates.io/crates/vaultrs)
2020-01-18 00:18:09 +00:00
### Scala
- [scala-vault](https://github.com/janstenpickle/scala-vault)