parameters: (self, credentials)
docstring: Write Credentials to file.
  
      Args:
        credentials: Credentials, the credentials to store.
docstring_summary: Write Credentials to file.
docstring_tokens: Write Credentials to file .
function: def locked_put(self, credentials):
      """Write Credentials to file.
  
      Args:
        credentials: Credentials, the credentials to store.
      """
      keyring.set_password(self._service_name, self._user_name,
                           credentials.to_json())
function_tokens: def locked_put ( self , credentials ) : keyring . set_password ( self . _service_name , self . _user_name , credentials . to_json ( ) )