We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40895a0 commit 5531a79Copy full SHA for 5531a79
ads/opctl/config/merger.py
@@ -124,7 +124,10 @@ def _fill_config_with_defaults(self, ads_config_path: str) -> None:
124
exec_config.get("auth") or AuthType.API_KEY
125
)
126
# determine profile
127
- if self.config["execution"]["auth"] == AuthType.RESOURCE_PRINCIPAL:
+ if self.config["execution"]["auth"] in (
128
+ AuthType.RESOURCE_PRINCIPAL,
129
+ AuthType.INSTANCE_PRINCIPAL,
130
+ ):
131
profile = self.config["execution"]["auth"].upper()
132
exec_config.pop("oci_profile", None)
133
self.config["execution"]["oci_profile"] = None
0 commit comments