Skip to content

Commit 71cc176

Browse files
authored
Merge pull request #75 add alias IamTokenCredentials for TokenServiceCredentials
2 parents 6086741 + 3a56d56 commit 71cc176

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: ydb-api-protos

Diff for: ydb/aio/iam.py

+5
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ async def _make_token_request(self):
6060
return {"access_token": response.iam_token, "expires_in": expires_in}
6161

6262

63+
# IamTokenCredentials need for backward compatibility
64+
# Deprecated
65+
IamTokenCredentials = TokenServiceCredentials
66+
67+
6368
class JWTIamCredentials(TokenServiceCredentials, auth.BaseJWTCredentials):
6469
def __init__(
6570
self,

0 commit comments

Comments
 (0)