Keyring support for Linux depends on GNOME Keyring.
apt install -y gnome-keyringYou need to start a D-Bus session manually if you are using headless Linux. For example:
# start new D-Bus shell
dbus-run-session -- sh
# unlock keyring
echo '...' | gnome-keyring-daemon --unlock
# now you can use keyring
urlscan key set