in iact3/cli_modules/list.py [0:0]
def get_credential(cls, config_file: str = None, project_path: str = None):
base_config = BaseConfig.create(
project_config_file=config_file or DEFAULT_CONFIG_FILE,
project_path=project_path or DEFAULT_PROJECT_ROOT,
fail_ok=True
)
return base_config.get_credential()