Nathan Mische
ff80ecb56d
Adding account id to ManagedPolicy ARN
2018-07-17 13:31:18 -04:00
postmart
324d17fd25
fixes wrong IAM get_user_policy() response
2018-05-31 19:53:56 +08:00
Brian Pandola
350cf9257e
Add update_access_key endpoint ( #1423 )
2018-01-10 18:29:08 -05:00
William Richard
df7a7958c1
Path is an optional property of instance profile cloudformation resource ( #1382 )
...
* Path is an optional property of instance profile cloudformation resource
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
* Path is also optional for iam role clouformation resources
Based on http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
* Use `properities.get` with a default instead of doing default handling myself
2017-12-14 12:06:04 +00:00
David Bartle
52ce8d378f
IAM delete_server_certificate ( #1380 )
...
* IAM delete_server_certificate
* flake8 fixes
2017-12-08 10:43:09 +00:00
Terry Cain
ddd52a5a97
Merge branch 'master' into batch
2017-10-11 23:02:47 +01:00
Brian Pandola
8021098815
Remove newlines from create-access-key response
2017-10-11 10:57:15 -07:00
Terry Cain
a027f86cc8
Merge branch 'master' into batch
2017-10-03 19:37:53 +01:00
Jack Danger
353f8387a2
implementing detach_group_policy
2017-10-01 15:05:33 -07:00
Jack Danger
3788e42f35
implement handlers for iam attached group policies
2017-10-01 15:01:52 -07:00
Jack Danger
37ae61871c
add model methods for iam attached group policies
2017-10-01 15:01:33 -07:00
Terry Cain
56e4300ad4
Added preliminary CreateComputeEnvironment
2017-09-26 22:22:59 +01:00
Jack Danger
727f757bc4
regenerating policies
2017-09-20 18:12:30 -07:00
Jack Danger
b840cb7455
fixing whitespace on AWS managed policies
2017-09-19 14:19:29 -07:00
Jack Danger
8f2f7fa20d
Adding a script to import all of AWS' managed policies
...
fixes #1118
2017-09-19 14:01:08 -07:00
Toshiya Kawasaki
ee4ca0c39a
Support IAM account alias ( #1088 )
2017-09-07 11:21:44 -07:00
Brian Pandola
bca5047202
Implement additional IAM endpoints
...
- attach_user_policy
- detach_user_policy
- list_attached_user_policies
2017-08-14 13:55:53 -07:00
David Cuthbert
672604d3e7
Add support for iam:DetachRolePolicy and iam:DeleteRolePolicy. ( #1052 )
...
* Add support for iam:DetachRolePolicy and iam:DeleteRolePolicy.
* Raise proper exceptions for iam:DetachRolePolicy and iam:DeleteRolePolicy when the policy doesn't exist.
2017-08-13 21:58:11 -07:00
Jack Danger
e445c81e83
Implement IAM {update,get}_login_profile
2017-07-27 14:22:25 -07:00
Jack Danger
584352aaf6
Merge pull request #958 from JackDanger/implement_iam_delete_role
...
implementing IAM delete_role
2017-05-19 16:54:00 -07:00
Jack Danger Canty
15d3397a60
implementing IAM delete_role
...
Fixes #957
2017-05-19 16:23:42 -07:00
mickeypash
965dc806c5
Fix the error code for IAMNotFoundException to NoSuchEntity used by AWS.
2017-05-19 23:30:29 +01:00
Jack Danger
6ff8d500e5
Merge pull request #946 from heddle317/add_policy_version
...
Add policy version
2017-05-15 15:10:49 -07:00
Kate Heddleston
992b475093
testing create, get, list, delete policy versions
2017-05-15 14:56:30 -07:00
Kate Heddleston
e307dc38e6
Implementing IAM policy versions
...
Adding definitions for create, list, and delete policy_versions
2017-05-15 14:56:28 -07:00
Steve Pulec
956f44d46c
Merge pull request #932 from grahamhar/master
...
Update list IAM AccessKeys
2017-05-10 22:42:14 -04:00
graham-hargreaves
835fe2d742
Update list IAM AccessKeys
...
Add the creation date, including timezone info, to the data returned
when requesting all AccessKeys for an IAM user.
This fixes #75
2017-05-07 16:31:26 +01:00
Sean Marlow
3fecd7f8e9
Add create date to user response template.
2017-04-24 17:10:02 -06:00
Steve Pulec
34c711189f
Cleanup IAM user create format. Closes #898 .
2017-04-13 21:39:07 -04:00
Steve Pulec
d35e143a20
Merge pull request #899 from smarlowucf/master
...
Add list user policies endpoint to iam backend.
2017-04-13 21:18:43 -04:00
Sean Marlow
9a2f2fcd4b
Add list user policies endpoint to iam backend.
...
- Add response and endpoint methods.
- Add test covering put, get, delete and list user policy.
2017-04-13 15:09:23 -06:00
Steve Pulec
b62015b27d
Add Iam User CreateDate. Closes #886 .
2017-04-12 22:19:48 -04:00
Sean Marlow
8b9d685f1c
Add mfa device endpoints to iam backend.
...
- Add mfa device class
- Add mfa devices dictionary to user class
- Add responses, endpoints and tests
2017-03-27 13:13:40 -06:00
Steve Pulec
bba197e29f
Make IAM ARNs more dynamic. Closes #663 .
2017-03-19 11:58:24 -04:00
Steve Pulec
2d05f8a79a
Add functionality for iam get-user with current user. Closes #480 .
2017-03-19 11:09:30 -04:00
Steve Pulec
5807a38092
Merge pull request #858 from spulec/dashboard
...
Add a dashboard
2017-03-12 20:26:42 -04:00
Steve Pulec
0e2fdf94f9
Cleanup lints.
2017-03-12 20:18:54 -04:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00
Steve Pulec
3b4ef2cf15
Merge in master.
2017-03-05 09:58:39 -05:00
Léo Cavaillé
9b6d3983d2
iam: add group policy methods ( #849 )
...
Implemented mocks for:
* get_all_group_policies
* list_group_policies (boto3)
* get_group_policy
* put_group_policy
2017-03-04 22:56:36 -05:00
David Wilcox
1b6007e2b2
Correct IAM list_server_certs template that was based off incorrect docs ( #836 )
...
The documentation for this method is here https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html
The docs say the return type is this ServerCertificateMetadataList.member.N
but the sample response incorrectly include a <ServerCertificateMetadata>. I've sent feedback to the AWS docs telling them to fix their stuff but this also needs to be fixed. I haven't checked other templates with <member> tags in them, as they may be prone to this same problem.
2017-03-04 22:36:25 -05:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981
Get standalone server mode working for all tests.
2017-02-23 19:43:48 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Jesse Szwedko
d42432bfef
IAM: raise error if requiested instance profile does not exist ( #802 )
...
Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 21:36:50 -05:00
Steve Pulec
201efd5773
Fix bug with listing IAM users.
2017-01-11 20:54:47 -05:00
Sean Marlow
fa3663c610
Add support for login profile deletion ( #768 )
...
* Add support for delete_login_profile.
Mock deletion of login profile. Set password to
none. Add tests to cover new endpoint.
* Fix typo in create_login_profile response.
Change CreateUserResult to CreateLoginProfileResult
in the CREATE_LOGIN_PROFILE_TEMPLATE. Caused KeyError
when using boto3.
Add test to cover boto3 in addition to boto.
2016-11-11 17:05:01 -05:00
Steve Pulec
9101b58934
Need to speficy how we are sorting.
2016-11-06 10:57:01 -05:00
Taro Sato
159a81723c
Implement IAM managed policy.
...
This requires boto 2.39 for managed policy tests
2016-10-20 10:07:41 -07:00
Steve Pulec
ea319698aa
Merge pull request #669 from netors/feature/implement-iam-list-users-for-boto3
...
implemented iam list users (Closes #668 )
2016-08-27 21:13:53 -04:00