sagnghos commented on code in PR #38928:
URL: https://github.com/apache/beam/pull/38928#discussion_r3398315251


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerConfig.java:
##########
@@ -367,6 +376,7 @@ public SpannerConfig 
withExperimentalHost(ValueProvider<String> experimentalHost
     return toBuilder()
         .setInstanceId(EXPERIMENTAL_HOST_INSTANCE_ID)
         .setExperimentalHost(experimentalHost)
+        
.setCredentials(ValueProvider.StaticValueProvider.of(NoCredentials.getInstance()))
         .build();

Review Comment:
   We need to set it to NoCredentials by default unconditionally as we don't 
want Cloud credentials to be sent to Omni by mistake which is the default 
behaviour



-- 
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]

Reply via email to