diff --git a/Datastore/src/DatastoreClient.php b/Datastore/src/DatastoreClient.php index 7296e17b6bed..6498deb496d1 100644 --- a/Datastore/src/DatastoreClient.php +++ b/Datastore/src/DatastoreClient.php @@ -182,6 +182,11 @@ public function __construct(array $config = []) ], ]; $config = $this->buildClientOptions($config); + $config['credentials'] = $this->createCredentialsWrapper( + $config['credentials'], + $config['credentialsConfig'], + $config['universeDomain'], + ); $config = $this->configureAuthentication($config); $this->connection = $connectionType === 'grpc'