• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Vault
  • Install
  • Tutorials
  • Documentation
  • API
  • Integrations
  • Try Cloud(opens in new tab)
  • Sign up
Vault Home

API

Skip to main content
  • API
  • Client Libraries
  • Related Tools


  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Vault
  3. API
  4. Client Libraries
  • Vault
  • v1.11.x
  • v1.10.x
  • v1.9.x
  • v1.8.x
  • v1.7.x
  • v1.6.x
  • v1.5.x
  • v1.4.x

ยป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

  • Vault Go Client
$ go get github.com/hashicorp/vault/api

Example application

Ruby

  • Vault Ruby Client
$ 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 (.NET Standard 2.0 & 1.3, .NET Core >= 1.0.0, .NET 4.5, .NET 4.6, Mono, iOS, Android, Mac, UWP etc.)
$ Install-Package VaultSharp
  • Vault.NET
$ Install-Package Vault

Example application

C++

  • libvault

Clojure

  • vault-clj

Elixir

  • libvault
  • vaultex

Erlang

  • canal

Go

  • vc
$ go get github.com/adfinis-sygroup/vault-client
  • vaultgo
$ go get github.com/mittwald/vaultgo

Haskell

  • vault-tool
$ cabal install vault-tool
  • gothic
$ stack install gothic

Java

  • Spring Vault
  • vault-java-driver

Kotlin

  • vault-kotlin

Node.js

  • node-vault
$ npm install node-vault
  • vaulTS (Github NPM Registry)
$ npm install @mittwald/vaults
  • vault-api (Typescript. Axios-like API)
$ npm install vault-api

PHP

  • vault-php-sdk
$ composer require jippi/vault-php-sdk
  • vault-php-sdk extended from jipppi
$ composer require violuke/vault-php-sdk
  • vault-php
$ composer require csharpru/vault-php
  • vault-php
$ composer require mittwald/vault-php

PowerShell

  • Zyborg.Vault
Install-Module Zyborg.Vault

Python

  • HVAC
$ pip install hvac
  • Async-HVAC
$ pip install async-hvac

R

  • vaultr

Rust

  • HashicorpVault
  • vaultrs

Scala

  • scala-vault
Edit this page on GitHub

On this page

  1. Libraries
  2. Official
  3. Community
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)