code: def get_identity_client():
      cloud = get_global_config()["cloud"]
  
      if cloud == "azure":
          return aioazure.AzureGraphClient()
  
      assert cloud == "gcp", cloud
      project = get_gcp_config().project
      return aiogoogle.GoogleIAmClient(project)
  
imports: from gear.cloud_config import get_gcp_config, get_global_config
  from hailtop.aiocloud import aioazure, aiogoogle
  from hailtop.aiotools.fs import AsyncFS, AsyncFSFactory
label_desc: Use image node_id 1 for calling a global function with example usage: get_identity_client() and returns: aiogoogle, aioazure