From 6a8eee1566925ef75627ca6bc77ea541ce8e2b02 Mon Sep 17 00:00:00 2001 From: yash30201 <54198301+yash30201@users.noreply.github.com> Date: Tue, 26 Mar 2024 09:48:46 +0000 Subject: [PATCH] feat(Datastore): Add credentials wrapper support in DatastoreClient --- Datastore/src/DatastoreClient.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Datastore/src/DatastoreClient.php b/Datastore/src/DatastoreClient.php index ba0a507889de..2453c7f6d7a4 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'