Harden backup credentials and add durable image inventory publication
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a06ecb-456a-71c2-b41e-0755d336e883
This commit is contained in:
parent
62423fd092
commit
0349a08e1b
13 changed files with 365 additions and 23 deletions
|
|
@ -18,12 +18,12 @@ railiance_backup_load_openbao_lane() {
|
|||
|
||||
railiance_backup_require_openbao_lane() {
|
||||
railiance_backup_load_openbao_lane
|
||||
# Nextcloud *file drop* shares use /public.php/dav/filesdrop/<token>/ — not /public.php/webdav
|
||||
: "${RAILIANCE_BACKUP_NC_WEBDAV_URL:=https://nx4069.your-storageshare.de/public.php/dav/filesdrop/${RAILIANCE_BACKUP_NC_TOKEN}}"
|
||||
if [[ -z "${RAILIANCE_BACKUP_NC_TOKEN:-}" ]]; then
|
||||
echo "ERROR: set RAILIANCE_BACKUP_NC_TOKEN or run: bao login -method=oidc -path=netkingdom role=railiance-backup-workload-kv-read" >&2
|
||||
exit 1
|
||||
echo "ERROR: governed backup credential unavailable (CCR-2026-0004)" >&2
|
||||
return 1
|
||||
fi
|
||||
# Build a file-drop URL only after the required token is present.
|
||||
: "${RAILIANCE_BACKUP_NC_WEBDAV_URL:=https://nx4069.your-storageshare.de/public.php/dav/filesdrop/${RAILIANCE_BACKUP_NC_TOKEN}}"
|
||||
}
|
||||
|
||||
railiance_backup_require_tools() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue