Files
Backup_kube/bitwarden/bitwarden_export_scripts.configmap.yaml
T
pi-ux-ce 65e448218c
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13m31s
switch to apikey instead of plain username and password
2024-10-28 14:26:47 +00:00

12 lines
305 B
YAML

apiVersion: v1
data:
export_bitwarden.sh: |
#!/usr/bin/env bash
bw config server https://bitwarden.tryton.geeraert.eu/
bw login --apikey
bw list items >> /backup/backup_$(date "+%Y-%m-%d_%Hh-%m").json
kind: ConfigMap
metadata:
creationTimestamp: null
name: bitwarden-export-scripts