code: func (connection *VSphereConnection) UpdateCredentials(username string, password string) {
  	connection.credentialsLock.Lock()
  	defer connection.credentialsLock.Unlock()
  	connection.Username = username
  	connection.Password = password
  }
docs: // UpdateCredentials updates username and password.
  // Note: Updated username and password will be used when there is no session active