This commit is contained in:
chaos 2024-11-20 22:20:14 +00:00
parent 06325deb4d
commit 401402b024

View file

@ -33,8 +33,8 @@
restic_env = { restic_env = {
fetchScript = '' fetchScript = ''
cat << EOF > "$secretFile" cat << EOF > "$secretFile"
AWS_ACCESS_KEY_ID=$(simple_get "/api-keys/backblaze/Backups" .keyID) AWS_ACCESS_KEY_ID=$(simple_get "/api-keys/backblaze/Backblaze" .keyID)
AWS_SECRET_ACCESS_KEY=$(simple_get "/api-keys/backblaze/Backups" .applicationKey) AWS_SECRET_ACCESS_KEY=$(simple_get "/api-keys/backblaze/Backblaze" .applicationKey)
EOF EOF
''; '';
}; };