rename pass_mgr to secret-mgr
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user