forked from TrueCloudLab/frostfs-testlib
[#241] Methods for tag IAM user
This commit is contained in:
parent
10821f4c49
commit
bfd7f70b6c
3 changed files with 74 additions and 0 deletions
|
@ -550,3 +550,15 @@ class S3ClientWrapper(HumanReadableABC):
|
|||
@abstractmethod
|
||||
def iam_update_user(self, user_name: str, new_name: Optional[str] = None, new_path: Optional[str] = None) -> dict:
|
||||
'''Updates the name and/or the path of the specified IAM user'''
|
||||
|
||||
@abstractmethod
|
||||
def iam_tag_user(self, user_name: str, tags: list) -> dict:
|
||||
'''Adds one or more tags to an IAM user'''
|
||||
|
||||
@abstractmethod
|
||||
def iam_list_user_tags(self, user_name: str) -> dict:
|
||||
'''List tags of IAM user'''
|
||||
|
||||
@abstractmethod
|
||||
def iam_untag_user(self, user_name: str, tag_keys: list) -> dict:
|
||||
'''Removes the specified tags from the user'''
|
Loading…
Add table
Add a link
Reference in a new issue