code: def set_secure(self, section, option, value):
          
          if self.keyring_available:
              s_option = "%s%s" % (section, option)
              self._unsaved[s_option] = ('set', value)
              value = self._secure_placeholder
          ConfigParser.set(self, section, option, value)
docs: Set an option and mark it as secure.
  
          Any subsequent uses of 'set' or 'get' will also
          now know that this option is secure as well.