I am setting up a new backup to a OneDrive personal account with Duplicacy CLI in Linux.
Upon initializing the repository I was asked to provide the path to the token file so I did — and it worked.
Every time I run a backup I am asked to provide the location of the token file:
2025-12-12 09:09:39.448 INFO REPOSITORY_SET Repository set to /boot
2025-12-12 09:09:39.449 INFO STORAGE_SET Storage set to one://backups/example-example_example_example-example-example
2025-12-12 09:09:39.449 DEBUG PASSWORD_ENV_VAR Reading the environment variable DUPLICACY_ONEDRIVE-EXAMPLE.EXAMPLE@OUTLOOK.COM_ONE_TOKEN
2025-12-12 09:09:39.449 DEBUG PASSWORD_ENV_VAR Reading the environment variable DUPLICACY_ONEDRIVE_EXAMPLE_EXAMPLE_OUTLOOK_COM_ONE_TOKEN
2025-12-12 09:09:39.449 DEBUG KEYRING_GET Failed to get the value from the keyring: Unable to open dbus session &{%!s(*dbus.Conn=&{0xc00062ea00 0xc0005c0374 true 37433fd3796e4b1b94c2d547a1195897 [:1.0] {{0 0} 0 0 {{} 0} {{} 0}} {0 0} 3 map[0:true] map[] {{0 0} 0 0 {{} 0} {{} 0}} 0xc0002c0110 0xc0000c2c30 false {{0 0} 0 0 {{} 0} {{} 0}} 0xc0000a4f73 <nil> {0 0}}) org.freedesktop.secrets /org/freedesktop/secrets}: The name org.freedesktop.secrets was not provided by any .service files
Enter the path of the OneDrive token file (downloadable from https://duplicacy.com/one_start):
Can I avoid this somehow?
By the way: I had to set chmod 664 on the token file to let Duplicacy change it. Not sure if it matters.