Skip to content

Commit f1b9493

Browse files
authored
fix: update GrpcStorageOptions to set allowNonDefaultServiceAccount = true (#1977)
1 parent d6accdf commit f1b9493

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ private Tuple<StorageSettings, Opts<UserProject>> resolveSettingsAndOpts() throw
211211
InstantiatingGrpcChannelProvider.Builder channelProviderBuilder =
212212
InstantiatingGrpcChannelProvider.newBuilder()
213213
.setEndpoint(endpoint)
214+
.setAllowNonDefaultServiceAccount(true)
214215
.setAttemptDirectPath(attemptDirectPath);
215216

216217
if (scheme.equals("http")) {

0 commit comments

Comments
 (0)