docs: def update_user_password(client, userpass):
      """Will update the password for a userpass user"""
      vault_path = ''
      user = ''
      user_path_bits = userpass.split('/')
      if len(user_path_bits) == 1:
          user = user_path_bits[0]
          vault_path = "auth/userpass/users/%s/password" % user
          LOG.debug("Updating password for user %s at the default path", user)
      elif len(user_path_bits) == 2:
          mount = user_path_bits[0]
          user = user_path_bits[1]
          vault_path = "auth/%s/users/%s/password" % (mount, user)
          LOG.debug("Updating password for user %s at path %s", user, mount)
      else:
          client.revoke_self_token()
          raise aomi.exceptions.AomiCommand("invalid user path")
  
      new_password = get_password()
      obj = {
          'user': user,
          'password': new_password
      }
      client.write(vault_path, **obj)