code: def get_setting_from_keyring(self, setting_identifier, keyring_backend=None):
          
          # If a custom keyring backend has been defined, use it.
          if keyring_backend:
              return keyring_backend.get_password(setting_identifier, getpass.getuser())
  
          # Otherwise try and use default keyring.
          try:
              import keyring
          except ImportError:
              pass
          else:
              return keyring.get_password(setting_identifier, getpass.getuser())
docs: Retrieves a protected setting from keyring
          :param setting_identifier: must be in the format package.module.Class.setting