This file contains hidden or 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
| # // a simple demo / mock of | |
| # https://developer.hashicorp.com/vault/docs/v1.21.x/auth/spiffe | |
| # https://developer.hashicorp.com/vault/api-docs/v1.21.x/auth/spiffe | |
| #// arm64 or amd64 (x86_64) SPIRE version: | |
| SV=1.12.5 ; | |
| SVA=$(uname -m) ; if [[ ${SVA} == "x86_64" ]] ; then SVA="amd64" ; fi ; | |
| SDURL=https://github.com/spiffe/spire/releases/download ; | |
| curl -s -N -L ${SDURL}/v${SV}/spire-${SV}-linux-${SVA}-musl.tar.gz | tar xz && cd spire-${SV} ; |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # // Steps for creating a k8s cluster & deploying HashiCorps Vault helm | |
| # // -------------------------------------------------------------------------- | |
| # // Thank you to the below users for their helpful tips: | |
| # // - martinhristov90 (https://github.com/martinhristov90) | |
| # // - rowansmithhc (https://github.com/rowansmithhc) | |
| # // -------------------------------------------------------------------------- | |
| # // Prerequisite - ensure that these CLI utilties are already installed: | |
| # // - * OS: git & jq. | |
| # // - * Kubectl (see: https://kubernetes.io/docs/tasks/tools/). |