From 58e6a4e25e30e49240fa0c661b7f724c6d35e104 Mon Sep 17 00:00:00 2001 From: LeeW Date: Mon, 17 Feb 2025 10:50:52 +0100 Subject: [PATCH] TMP: adds in-line test within the verify command, iter --- verify/test.sh | 1 + verify/usr_confirm_keycfg.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/verify/test.sh b/verify/test.sh index 1a75905..bf3e708 100755 --- a/verify/test.sh +++ b/verify/test.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# PURPOSE: Test to verify update_sops.sh script set -ueo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" diff --git a/verify/usr_confirm_keycfg.sh b/verify/usr_confirm_keycfg.sh index e1d0f12..3ee6327 100755 --- a/verify/usr_confirm_keycfg.sh +++ b/verify/usr_confirm_keycfg.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -ueo pipefail -# PURPOSE: Allows End-User to verify their key configuration using a sample SOPS config and encrypted file +# PURPOSE: Allows User to verify their local SOPS configuration using a sample SOPS config and SOPS-encrypted file +# Usage: 1. Existing User: upon adding key, run this script to update the SOPS Config and encrypted file +# 2. New User: 'Existing User' has added key, run this script to confirm correct local configuration cd "$(dirname "${BASH_SOURCE[0]}")" secrets_file="mock_secrets.yaml"