Skip to content

Commit

Permalink
Merge pull request #536 from Pseudolukian/fix/example/static-auth
Browse files Browse the repository at this point in the history
Add .DS_Store in gitignore and delete note
  • Loading branch information
vgvoleg authored Dec 16, 2024
2 parents 647bb2b + 8787a1c commit 0dfe8e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ ydb.egg-info/
.coverage
/cov_html
/build
.DS_Store
5 changes: 0 additions & 5 deletions examples/static-credentials/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ def auth_with_static_credentials(endpoint: str, database: str, user: str, passwo
user (str): Username.
password (str): User password.
ca_path (str): Path to CA cert
Notes:
The argument `root_certificates` of the function `ydb.DriverConfig` takes the content of the cluster's root certificate
for connecting to cluster nodes via TLS.
Note that the VM from which you are connecting must be in the cluster's domain for which the CA certificate is issued.
"""
driver_config = ydb.DriverConfig(
endpoint=endpoint,
Expand Down

0 comments on commit 0dfe8e7

Please sign in to comment.