code: def add_user(
          self,
          name, 
          **attrs
          ):
          
          if self.user_exists(name):
              raise KubeConfError("user with the given name already exists.")
  
          users = self.get_users()
          
          # Add parameters.
          new_user = {'name': name, 'user':{}}
          attrs_ = new_user['user']
          attrs_.update(attrs)
          users.append(new_user)
docs: Add a user to config.