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 f4527e3 commit 03fe024Copy full SHA for 03fe024
veadk/integrations/ve_identity/identity_client.py
@@ -89,7 +89,8 @@ def _refresh_creds(self: IdentityClient):
89
# Step 3: Try VeFaaS IAM if no credentials or no session_token
90
# VeFaaS IAM provides complete credentials (ak, sk, session_token)
91
if not (ak and sk) or (ak and sk and not session_token):
92
- ak, sk, session_token = _try_get_vefaas_credentials()
+ if credentials := _try_get_vefaas_credentials():
93
+ ak, sk, session_token = credentials
94
95
# Step 4: If still no session_token, try AssumeRole
96
if ak and sk and not session_token:
0 commit comments