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 dc978e5 commit d8d3119Copy full SHA for d8d3119
ydb/auth_helpers.py
@@ -9,6 +9,7 @@ def read_bytes(f):
9
10
11
def load_ydb_root_certificate(path: Optional[str] = None):
12
+ path = path if path is not None else os.getenv("YDB_SSL_ROOT_CERTIFICATES_FILE", None)
13
if path is not None and os.path.exists(path):
14
return read_bytes(path)
15
return None
0 commit comments