Install HashiCorp Vault on macOS

From Bonus Bits
Jump to: navigation, search

Purpose

This article gives the steps to install to install HashiCorp's Vault Client on macOS using HomeBrew.


Prerequisites


Install

  1. brew install vault
    

Example

==> Downloading https://homebrew.bintray.com/bottles/vault-0.8.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring vault-0.8.1.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/vault/0.8.1: 6 files, 60.1MB


Configure

  1. Add Environment Variable for the Vault Server URL
    export VAULT_ADDR=https://chamber.domain.com
    

LDAP Auth

Here is an example of using LDAP Authentication:

vault auth -method=ldap -path=aws-ldap username=<username>