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 871ba6b commit 481e59aCopy full SHA for 481e59a
ydb/iam/auth.py
@@ -16,6 +16,13 @@
16
from yandex.cloud.iam.v1 import iam_token_service_pb2_grpc
17
from yandex.cloud.iam.v1 import iam_token_service_pb2
18
except ImportError:
19
+ try:
20
+ # This attempt is to enable the IAM auth inside the YDB repository on GitHub
21
+ from ydb.public.api.client.yc_public.iam import iam_token_service_pb2_grpc
22
+ from ydb.public.api.client.yc_public.iam import iam_token_service_pb2
23
+ except ImportError:
24
+ iam_token_service_pb2_grpc = None
25
+ iam_token_service_pb2 = None
26
iam_token_service_pb2_grpc = None
27
iam_token_service_pb2 = None
28
0 commit comments