def METHOD_NAME(account: Account):
  """Creates a ibmcloud access object."""
  gen = ibmcloud_manager.IbmCloud(
      account=account.name,
      apikey=account.apikey,
      verbose=False,
      version='v1',
      silent=True,
      force=True)
  if not gen.Token():
    gen.SetToken()  # one more try
  return gen