diff --git a/airbyte/cli.py b/airbyte/cli.py index e209b198..be309749 100644 --- a/airbyte/cli.py +++ b/airbyte/cli.py @@ -65,7 +65,6 @@ from __future__ import annotations -import json from pathlib import Path from typing import TYPE_CHECKING, Any @@ -156,7 +155,7 @@ def _inject_secrets(config_dict: dict[str, Any]) -> None: message="Config file not found.", input_value=str(config_path), ) - config_dict = json.loads(config_path.read_text(encoding="utf-8")) + config_dict = yaml.safe_load(config_path.read_text(encoding="utf-8")) _inject_secrets(config_dict) return config_dict