Vault
Libraries
[!IMPORTANT]
Documentation Update: Product documentation, which were located in this repository under/website
, are now located inhashicorp/web-unified-docs
, colocated with all other product documentation. Contributions to this content should be done in theweb-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.
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
Deprecation announced
Deprecated features are functional but marked for eventual removal or replacement. Refer to the deprecation announcements page for migration details and information on our deprecation process.
$ gem install 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, 7.0, and 8.0.
- Supports every auth and secret backend supported by Vault, along with several system APIs.
$ 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
R
Rust
Scala
Experimental
C#
- Vault DotNet Client - 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.
# Install-Package HashiCorp.Vault