net-kingdom/sso-mfa/k8s/postgresql/create-secrets.sh

8 lines
263 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Private creation or exact-match verification; rotations require --rotate-key.
set +x
set -euo pipefail
umask 077
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
exec python3 "$SCRIPT_DIR/../../bootstrap/apply-service-secrets.py" postgresql "$@"