From 48f845dde7b6be9ff9daf8b1495754ad5e24f380 Mon Sep 17 00:00:00 2001 From: LeeW Date: Wed, 26 Feb 2025 17:40:20 +0100 Subject: [PATCH] updates instructions - archive --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b9eef6e..173d7ad 100644 --- a/README.md +++ b/README.md @@ -123,23 +123,25 @@ To mark a key as expired: ```shell # archive key - DO NOT delete - need this for auditing git mv ${keyname} "archive/${keyname}_$(date '+%Y-%m-%d').archive" - -# list all groups -find groups -name ${keyname} | xargs git rm +# remove from verification sops +./verify/usr_confirm_keycfg.sh ``` ### 2. For each group / repo: -**Prerequisite**: Local copy of repo +**Prerequisite**: Local copy of each repo corresponding to a group ```shell -# For a given group, update sops config +# list all groups to which the key is registered +find groups/ -name ${keyname} + +# For each group, update sops config in that repo # Example: % cd devnso-adp-argocd % ${PATH_TO_THIS_REPO}/bin/update_sops.sh -g devnso-adp-argocd +# now git commit, push, etc ``` - ### 3. This repo: update groups ```shell # remove from groups