feat(tools): Introduce pass-compatible wrapper using Cloud KMS

Adds a shell script that supports a subset of the 'pass' interface for
compatibility with kontemplate, and wraps kontemplate in a script that
places this version on the PATH.

This makes it possible to use Cloud KMS encrypted secrets with kontemplate.
This commit is contained in:
Vincent Ambo 2019-09-03 15:56:31 +01:00
parent abd5d7538c
commit bcd7710be5
5 changed files with 78 additions and 0 deletions

1
.envrc
View file

@ -4,3 +4,4 @@
export PATH="${PWD}/tools/bin:${PATH}"
export NIX_PATH="nixpkgs=${PWD}/default.nix"
export REPO_ROOT="${PWD}"
export SECRETS_DIR="${PWD}/secrets"