HashiCorp · HashiCorp

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.

These libraries are officially maintained by HashiCorp.

Go

$ go get github.com/hashicorp/vault/api

Example application

Ruby

$ gem install vault

These libraries are provided by the community.

Ansible

$ 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

Example application

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
$ npm install @litehex/node-vault
$ npm install @mittwald/vaults
$ npm install vault-api
$ npm i @sourceloop/vault

PHP

$ composer require jippi/vault-php-sdk
$ 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

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

Example application

Read the original on developer.hashicorp.com ↗