implemented iam list users
This commit is contained in:
parent
1f618a3cb5
commit
e84dad6509
3 changed files with 43 additions and 0 deletions
|
|
@ -364,6 +364,15 @@ class IAMBackend(BaseBackend):
|
|||
|
||||
return user
|
||||
|
||||
def list_users(self, path_prefix, marker, max_items):
|
||||
users = None
|
||||
try:
|
||||
users = self.users
|
||||
except KeyError:
|
||||
raise IAMNotFoundException("Users {0}, {1}, {2} not found".format(path_prefix, marker, max_items))
|
||||
|
||||
return users
|
||||
|
||||
def create_login_profile(self, user_name, password):
|
||||
# This does not currently deal with PasswordPolicyViolation.
|
||||
user = self.get_user(user_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue