diff options
author | pnv1 <pnv@ydb.tech> | 2022-09-19 21:40:02 +0300 |
---|---|---|
committer | pnv1 <pnv@ydb.tech> | 2022-09-19 21:40:02 +0300 |
commit | 441f860b0e1b20d845a1775ff76f6281f2d415a8 (patch) | |
tree | ce7f0e9f33a6c919be7bd06589a977cbdabd0316 | |
parent | f8fba855293278a23b47bd219e7a4b14daf2d95e (diff) | |
download | ydb-441f860b0e1b20d845a1775ff76f6281f2d415a8.tar.gz |
Allow empty password field in opensource CLI
-rw-r--r-- | ydb/apps/ydb/commands/ydb_cloud_root.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/apps/ydb/commands/ydb_cloud_root.cpp b/ydb/apps/ydb/commands/ydb_cloud_root.cpp index 5814f8bd22..0a836f801c 100644 --- a/ydb/apps/ydb/commands/ydb_cloud_root.cpp +++ b/ydb/apps/ydb/commands/ydb_cloud_root.cpp @@ -24,7 +24,7 @@ void TClientCommandRoot::SetCredentialsGetter(TConfig& config) { return CreateOAuthCredentialsProviderFactory(config.SecurityToken); } if (config.UseStaticCredentials) { - if (config.StaticCredentials.User && config.StaticCredentials.Password) { + if (config.StaticCredentials.User) { return CreateLoginCredentialsProviderFactory(config.StaticCredentials); } } |