From ccec1ef833882c1159e98436b33e1213a1f4bb38 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Mon, 8 Sep 2025 18:19:24 +0200 Subject: [PATCH] just: Add singular sops update and rotate commands --- justfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 831eb1b..da74345 100644 --- a/justfile +++ b/justfile @@ -34,8 +34,14 @@ _sops-do command: sops-edit path: just _sops-do "sops edit {{ path }}" -sops-update: +sops-update path: + just _sops-do "sops updatekeys {{ path }}" + +sops-update-all: just _sops-do "find . -type f -name 'secrets.json' -exec sops updatekeys --yes {} \;" -sops-rotate: +sops-rotate path: + just _sops-do "sops rotate --in-place {{ path }}" + +sops-rotate-all: just _sops-do "find . -type f -name 'secrets.json' -exec sops rotate --in-place {} \;"