This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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") |