about summary refs log tree commit diff
path: root/ops/kms_pass.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-23T12·26+0100
committerVincent Ambo <tazjin@google.com>2019-12-23T12·26+0100
commita260eba3cf478c99dcfd92b821934b40ed905894 (patch)
treebcb8f7bfa47e2ab0f4d9037402133508a4eed8a6 /ops/kms_pass.nix
parentd11cda367fcb17cb98117f7dfc99a651f661542f (diff)
refactor(ops/kms_pass): Pin encrypted secrets into Nix store r/293
Diffstat (limited to 'ops/kms_pass.nix')
-rw-r--r--ops/kms_pass.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/kms_pass.nix b/ops/kms_pass.nix
index 14989b392dd1..b8a97d1332f8 100644
--- a/ops/kms_pass.nix
+++ b/ops/kms_pass.nix
@@ -14,6 +14,7 @@ in (writeShellScriptBin "pass" ''
 
   CMD="$1"
   readonly SECRET=$2
+  readonly SECRETS_DIR=${./secrets}
   readonly SECRET_PATH="$SECRETS_DIR/$SECRET"
 
   function secret_check {