Add safe Bubble session export path for CSOC-WP-0001-T02

Document XDG/OpenBao credential custody (no secrets in chat) and add
Playwright inventory export using storage-state for automated read access.
This commit is contained in:
tegwick 2026-08-13 10:18:41 +02:00
parent 638166cff4
commit a160ad400b
5 changed files with 390 additions and 1 deletions

View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Authenticated Bubble inventory export (CSOC-WP-0001-T02).
# Uses storage-state only — never prints secrets.
set -euo pipefail
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$(cd "$DIR/.." && pwd)"
cd "$DIR"
if [[ ! -d node_modules/playwright ]]; then
echo "Installing playwright in scripts/ …"
npm install
npx playwright install chromium
fi
exec node ./export-bubble-inventory.mjs "$@"