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.
|
|
|
|
|
2021-10-05 17:15:01 +00:00
|
|
|
For copy-pastable examples of how to use these libraries, see the [vault-examples](https://github.com/hashicorp/vault-examples) repo.
|
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
## Community
|
|
|
|
|
|
|
|
These libraries are provided by the community.
|
|
|
|
|
|
|
|
### Ansible
|
|
|
|
|
|
|
|
- [ansible-vault](https://github.com/jhaals/ansible-vault) lookup plugin without third-party dependencies.
|
|
|
|
- [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)
|
|
|
|
- [vault-java-driver](https://github.com/BetterCloud/vault-java-driver)
|
|
|
|
|
|
|
|
### 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
|
|
|
```
|
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
- [Async-HVAC](https://github.com/Aloomaio/async-hvac)
|
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2020-01-18 00:18:09 +00:00
|
|
|
$ pip install async-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)
|