2024-10-16 07:52:52 +01:00
|
|
|
# Email
|
2025-01-13 07:00:06 +00:00
|
|
|
EMAILS=(
|
|
|
|
"e.litherlandsmith@proton.me"
|
|
|
|
"e.litherlandsmith@icloud.com"
|
|
|
|
"evie.litherland-smith@ukaea.uk"
|
2024-10-16 07:52:52 +01:00
|
|
|
)
|
2025-01-13 07:00:06 +00:00
|
|
|
for EMAIL in "${EMAILS[@]}"; do
|
|
|
|
LABEL="$EMAIL"
|
|
|
|
secret-tool lookup email "$EMAIL" >/dev/null || (
|
|
|
|
echo "Insert pass for $LABEL"
|
|
|
|
secret-tool store --label="$LABEL" email "$EMAIL"
|
|
|
|
)
|
|
|
|
done
|
2024-10-16 07:52:52 +01:00
|
|
|
|
|
|
|
# Calendar
|
|
|
|
URL="dav.xenia.me.uk"
|
|
|
|
USER="pixelifytica"
|
2025-01-13 07:00:06 +00:00
|
|
|
LABEL="$USER@$URL"
|
|
|
|
secret-tool lookup url "$URL" user "$USER" >/dev/null || (
|
|
|
|
echo "Insert pass for $LABEL"
|
|
|
|
secret-tool store --label="$LABEL" url "$URL" user "$USER"
|
|
|
|
)
|
2024-10-16 07:52:52 +01:00
|
|
|
|
2024-10-30 16:46:50 +00:00
|
|
|
# GitHub API token
|
|
|
|
HOST="api.github.com"
|
|
|
|
USER="pixelifytica^forge"
|
2025-01-13 07:00:06 +00:00
|
|
|
LABEL="$USER@$HOST"
|
|
|
|
secret-tool lookup host "$HOST" user "$USER" >/dev/null || (
|
|
|
|
echo "Insert pass for $LABEL"
|
|
|
|
secret-tool store --label="$LABEL" host "$HOST" user "$USER"
|
|
|
|
)
|