Open
Description
Hi there,
just thought i'd mention this, so others can find it here and perhaps it saves people some time;
This is how you can securely save your access keys/password in the 1Password password manager, launch Restic Browser, and authenticate with biometrics:
#!/usr/bin/env sh
# Use secret references with 1Password CLI:
# https://developer.1password.com/docs/cli/secret-references/
#
# op://<vault-name>/<item-name>/[section-name/]<field-name>
#
export RESTIC_REPOSITORY="op://Private/My Restic Backup/RESTIC_REPOSITORY"
export AWS_ACCESS_KEY_ID="op://Private/My Restic Backup/AWS_ACCESS_KEY_ID"
export AWS_SECRET_ACCESS_KEY="op://Private/My Restic Backup/AWS_SECRET_ACCESS_KEY"
export RESTIC_PASSWORD="op://Private/My Restic Backup/RESTIC_PASSWORD"
op run -- /Applications/Restic-Browser.app/Contents/MacOS/Restic-Browser