File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313 this allows to deploy a new bundle for the content without exposing
1414 it as a the activated one.
1515
16+ ### Fixed
17+
18+ - Command-line options like ` --api-key ` and associated environment variables
19+ like ` CONNECT_API_KEY ` take precedence over values in a stored deployment
20+ target. (#684 )
21+
1622## [ 1.26.0] - 2025-05-28
1723
1824### Added
Original file line number Diff line number Diff line change @@ -859,14 +859,13 @@ def setup_remote_server(
859859 if header_output :
860860 self .logger .warning ("\n " )
861861
862- # TODO: Is this logic backward? Seems like the provided value should override the stored value.
863- api_key = server_data .api_key or api_key
864- snowflake_connection_name = server_data .snowflake_connection_name or snowflake_connection_name
865- insecure = server_data .insecure or insecure
866- ca_data = server_data .ca_data or ca_data
867- account_name = server_data .account_name or account_name
868- token = server_data .token or token
869- secret = server_data .secret or secret
862+ api_key = api_key or server_data .api_key
863+ snowflake_connection_name = snowflake_connection_name or server_data .snowflake_connection_name
864+ insecure = insecure or server_data .insecure
865+ ca_data = ca_data or server_data .ca_data
866+ account_name = account_name or server_data .account_name
867+ token = token or server_data .token
868+ secret = secret or server_data .secret
870869
871870 self .is_server_from_store = server_data .from_store
872871
You can’t perform that action at this time.
0 commit comments