Optionally use keyring to store credentials