How to use keyring instead of plain text passwords in the config

I just installed keyring on macOS. I’d like to leverage this instead of keeping username and password in my mopidy.conf.

Everything works well, and I can read my Spotify password from the Keychain by running:

python -m keyring get spotify 0000000000

After reading here, and here, my understanding is that I need to leave the mopidy.conf credentials empty:

username =
password =

and then setup the keyring config located at (~/.local/share/python_keyring).

Is it possible to still use the macOS Keychain? If not, how to properly setup the keyring config file?

Could anyone at least share a macOS example where they use keyring? At this point, it does not matter if it read from the keychain or not.
Thanks again. :slight_smile: