New Vault OSS Now Includes Multi-factor Authentication! Learn more
  • Overview
    • Automated PKI Infrastructure
    • Data Encryption & Tokenization
    • Database Credential Rotation
    • Dynamic Secrets
    • Identity-based Access
    • Key Management
    • Kubernetes Secrets
    • Secrets Management
  • Enterprise
  • Tutorials
  • Docs
  • API
  • Community
GitHubTry Cloud
Download
    • v1.10.x (latest)
    • v1.9.x
    • v1.8.x
    • v1.7.x
    • v1.6.x
    • v1.5.x
    • v1.4.x
  • Overview
  • Client Libraries
  • Related Tools

    • Overview
    • Active Directory
    • AliCloud
    • AWS
    • Azure
    • Cassandra
    • Consul
    • Cubbyhole
      • Overview
      • Cassandra
      • Couchbase
      • Elasticsearch
      • Influxdb
      • HanaDB
      • MongoDB
      • MongoDB Atlas
      • MSSQL
      • MySQL/MariaDB
      • Oracle
      • PostgreSQL
      • Redshift
      • Snowflake
    • Google Cloud
    • Google Cloud KMS
      • Overview
      • Azure Key Vault
      • AWS KMS
      • GCP Cloud KMS
    • KMIP ENTERPRISE
      • Overview
      • K/V Version 1
      • K/V Version 2
      • Overview
      • Entity
      • Entity Alias
      • Group
      • Group Alias
      • Identity Tokens
      • Lookup
      • OIDC Provider
        • Overview
        • Duo
        • Okta
        • PingID
        • TOTP
        • Login Enforcement
    • MongoDB Atlas
    • Nomad
    • OpenLDAP
    • PKI
    • RabbitMQ
    • SSH
    • Terraform Cloud
    • TOTP
    • Transform ENTERPRISE
    • Transit
    • Overview
    • AliCloud
    • AppRole
    • AWS
    • Azure
    • Cloud Foundry
    • GitHub
    • Google Cloud
    • JWT/OIDC
    • Kerberos
    • Kubernetes
    • LDAP
    • OCI
    • Okta
    • RADIUS
    • TLS Certificates
    • Tokens
    • Username & Password
    • App ID DEPRECATED
    • Overview
    • /sys/audit
    • /sys/audit-hash
    • /sys/auth
    • /sys/capabilities
    • /sys/capabilities-accessor
    • /sys/capabilities-self
    • /sys/config/auditing
    • /sys/config/control-group
    • /sys/config/cors
    • /sys/config/reload
    • /sys/config/state
    • /sys/config/ui
    • /sys/control-group
    • /sys/generate-recovery-token
    • /sys/generate-root
    • /sys/health
    • /sys/host-info
    • /sys/in-flight-req
    • /sys/init
    • /sys/internal/counters
    • /sys/internal/specs/openapi
    • /sys/internal/ui/feature-flags
    • /sys/internal/ui/mounts
    • /sys/internal/ui/namespaces
    • /sys/internal/ui/resultant-acl
    • /sys/key-status
    • /sys/ha-status
    • /sys/leader
    • /sys/leases
    • /sys/license
    • /sys/managed-keys ENT
    • /sys/metrics
      • Overview
      • /sys/mfa/method/duo
      • /sys/mfa/method/okta
      • /sys/mfa/method/pingid
      • /sys/mfa/method/totp
      • /sys/mfa/validate
    • /sys/monitor
    • /sys/mounts
    • /sys/namespaces
    • /sys/plugins/reload/backend
    • /sys/plugins/catalog
    • /sys/policy
    • /sys/policies
    • /sys/policies/password
    • /sys/pprof
    • /sys/quotas/config
    • /sys/quotas/rate-limit
    • /sys/quotas/lease-count
    • /sys/raw
    • /sys/rekey
    • /sys/rekey-recovery-key
    • /sys/remount
      • Overview
      • /sys/replication/performance
      • /sys/replication/dr
    • /sys/rotate
    • /sys/rotate/config
    • /sys/seal
    • /sys/seal-status
    • /sys/sealwrap/rewrap
    • /sys/step-down
      • Overview
      • /sys/storage/raft
      • /sys/storage/raft/autopilot
      • /sys/storage/raft/snapshot-auto
    • /sys/tools
    • /sys/unseal
    • /sys/version-history
    • /sys/wrapping/lookup
    • /sys/wrapping/rewrap
    • /sys/wrapping/unwrap
    • /sys/wrapping/wrap
Type '/' to Search

»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 copy-pastable examples of how to use these libraries, see the vault-examples repo.

»Official

These libraries are officially maintained by HashiCorp.

»Go

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

Example application

»Ruby

  • Vault Ruby Client
$ gem install vault
$ 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
$ 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
$ Install-Package VaultSharp
  • Vault.NET
$ Install-Package Vault
$ 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
$ go get github.com/adfinis-sygroup/vault-client
  • vaultgo
$ go get github.com/mittwald/vaultgo
$ go get github.com/mittwald/vaultgo

»Haskell

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

»Java

  • Spring Vault
  • vault-java-driver

»Kotlin

  • vault-kotlin

»Node.js

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

»PHP

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

»PowerShell

  • Zyborg.Vault
Install-Module Zyborg.Vault
Install-Module Zyborg.Vault

»Python

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

»R

  • vaultr

»Rust

  • HashicorpVault
  • vaultrs

»Scala

  • scala-vault
github logoEdit this page
DocsAPILearnCommunityPrivacySecurityPress KitConsent Manager