We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9b8c13 commit 5ee4cd3Copy full SHA for 5ee4cd3
src/client/helpers/helpers.cpp
@@ -58,7 +58,7 @@ TDriverConfig CreateFromEnvironment(const std::string& connectionString) {
58
}
59
60
std::string oauth2KeyFile = GetStrFromEnv("YDB_OAUTH2_KEY_FILE", "");
61
- if (!saKeyFile.empty()) {
+ if (!oauth2KeyFile.empty()) {
62
driverConfig.SetCredentialsProviderFactory(
63
CreateOauth2TokenExchangeFileCredentialsProviderFactory(oauth2KeyFile));
64
return driverConfig;
0 commit comments