Skip to content

Instantly share code, notes, and snippets.

View glehmann's full-sized avatar
🙂

Gaëtan Lehmann glehmann

🙂
View GitHub Profile
@glehmann
glehmann / vault_intermediate_ca_setup.sh
Last active October 21, 2016 20:06 — forked from bhouse/vault_intermediate_ca_setup.sh
Setting Up Hashicorp Vault with an intermediate CA based on https://gist.github.com/jefferai/092d2cd728ff66089f17
#!/bin/bash -e
# Setup a Root CA in vault
# Generate and sign an Intermediate cert
#
# Requires:
# * vault cli (https://www.vaultproject.io)
# * jq (https://stedolan.github.io/jq/)
# * A running vault server already initialzed and unsealed
# * vault cli must be already authenticated (try "vault server -dev")