Closed kabulov closed 3 months ago
if in connection.py in driver we add credentials=ydb.credentials_from_env_variables() like this:
155 def _create_driver(self): 156 driver_config = ydb.DriverConfig( 157 endpoint=self.endpoint, 158 database=self.database, 159 table_client_settings=self._get_table_client_settings(), 160 credentials=ydb.credentials_from_env_variables(), 161 )
we can use: export YDB_ACCESS_TOKEN_CREDENTIALS=my_token
fixed in https://github.com/ydb-platform/ydb-sqlalchemy/releases/tag/0.0.1b12 code: https://github.com/ydb-platform/ydb-sqlalchemy/pull/39
if in connection.py in driver we add credentials=ydb.credentials_from_env_variables() like this:
we can use: export YDB_ACCESS_TOKEN_CREDENTIALS=my_token