prime-rate-matt commented on code in PR #77733:
URL: https://github.com/apache/airflow/pull/77733#discussion_r4752511549
##########
providers/snowflake/src/airflow/providers/snowflake/utils/_rest_auth.py:
##########
@@ -149,10 +149,10 @@ def get_token(self) -> SnowflakeRestToken:
self._private_key_loaded = True
if self._private_key is None:
if conn_config.get("workload_identity_provider"):
- if (conn_config.get("authenticator") or "").upper() !=
"WORKLOAD_IDENTITY":
+ if conn_config.get("authenticator") != "workload_identity":
Review Comment:
Excellent catch and solution proposal. It seems like bad design that there
are so many ways to set this field and that the deduplication should happen at
some earlier point, but now we are here. I'll ask it to update
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]