[OBJECT-10059] Fix list_mfa and get_session_token
Some checks failed
DCO action / DCO (pull_request) Has been cancelled
Some checks failed
DCO action / DCO (pull_request) Has been cancelled
This commit is contained in:
parent
06a4416f10
commit
53f99ebb10
3 changed files with 3 additions and 3 deletions
|
@ -1319,7 +1319,7 @@ class AwsCliClient(S3ClientWrapper):
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@reporter.step("Get session token to user")
|
@reporter.step("Get session token for user")
|
||||||
def sts_get_session_token(
|
def sts_get_session_token(
|
||||||
self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None
|
self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None
|
||||||
) -> dict:
|
) -> dict:
|
||||||
|
|
|
@ -982,7 +982,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@reporter.step("Get session token to user")
|
@reporter.step("Get session token for user")
|
||||||
def sts_get_session_token(
|
def sts_get_session_token(
|
||||||
self, duration_seconds: Optional[str] = "", serial_number: Optional[str] = "", token_code: Optional[str] = ""
|
self, duration_seconds: Optional[str] = "", serial_number: Optional[str] = "", token_code: Optional[str] = ""
|
||||||
) -> dict:
|
) -> dict:
|
||||||
|
|
|
@ -590,4 +590,4 @@ class S3ClientWrapper(HumanReadableABC):
|
||||||
def sts_get_session_token(
|
def sts_get_session_token(
|
||||||
self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None
|
self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None
|
||||||
) -> dict:
|
) -> dict:
|
||||||
"""Get session token to user"""
|
"""Get session token for user"""
|
||||||
|
|
Loading…
Reference in a new issue