Vault
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.
For a step-by-step walkthrough on using these client libraries, see the developer quickstart. For copy-pastable code examples, see the vault-examples repo.
Official
These libraries are officially maintained by HashiCorp.
Go
$ go get github.com/hashicorp/vault/api
Ruby
$ gem install vault
C#
- Vault DotNet Client - Note that this is currently in early development, and is not yet production-ready.
# Install-Package HashiCorp.Vault
Community
These libraries are provided by the community.
Ansible
- ansible-vault - Lookup plugin without third-party dependencies.
- Ansible Modules Hashivault
$ pip install ansible-modules-hashivault
C#
- VaultSharp
- Supports .NET 4.6.x, 4.7.x, 4.8.x, .NET Standard 2.x, .NET 6.0 and 7.0.
$ Install-Package VaultSharp
$ Install-Package Vault
C++
Clojure
Elixir
Erlang
Go
$ go get github.com/mittwald/vaultgo
Haskell
$ cabal install vault-tool
$ stack install gothic
Java
Kotlin
Node.js
$ npm install node-vault
- node-vault (Typescript)
$ npm install @litehex/node-vault
- vaulTS (Github NPM Registry)
$ npm install @mittwald/vaults
- vault-api (Typescript. Axios-like API)
$ npm install vault-api
- loopback4-vault (LoopBack 4 Extension)
$ npm i @sourceloop/vault
PHP
$ composer require jippi/vault-php-sdk
- vault-php-sdk extended from jipppi
$ composer require violuke/vault-php-sdk
$ composer require csharpru/vault-php
$ composer require mittwald/vault-php
PowerShell
Install-Module Zyborg.Vault
Python
$ pip install hvac