rename pass_mgr to secret-mgr

This commit is contained in:
lyn
2026-03-24 10:08:00 +00:00
parent 95d22aa42d
commit 8b4b5de3b5
13 changed files with 39 additions and 39 deletions

View File

@@ -4,12 +4,12 @@ set -euo pipefail
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
USERNAME=$(pass_mgr get-username --key git)
KC_PASS=$(pass_mgr get-secret --key keycloak)
GITEA_PASS=$(pass_mgr get-secret --key git)
USERNAME=$(secret-mgr get-username --key git)
KC_PASS=$(secret-mgr get-secret --key keycloak)
GITEA_PASS=$(secret-mgr get-secret --key git)
if [[ -z "$USERNAME" || -z "$KC_PASS" || -z "$GITEA_PASS" ]]; then
echo "[ERROR] Missing required credentials in pass_mgr" >&2
echo "[ERROR] Missing required credentials in secret-mgr" >&2
exit 1
fi