Skip to content

Commit d8d3119

Browse files
authored
Update auth_helpers.py
1 parent dc978e5 commit d8d3119

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ydb/auth_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def read_bytes(f):
99

1010

1111
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)
1213
if path is not None and os.path.exists(path):
1314
return read_bytes(path)
1415
return None

0 commit comments

Comments
 (0)