Implement IAM managed policy.

This requires boto 2.39 for managed policy tests
This commit is contained in:
Taro Sato 2016-10-17 15:09:46 -07:00
commit 159a81723c
4 changed files with 384 additions and 6 deletions

View file

@ -25,3 +25,10 @@ def random_access_key():
string.ascii_uppercase + string.digits
)) for _ in range(16)
)
def random_policy_id():
return 'A' + ''.join(
random.choice(string.ascii_uppercase + string.digits)
for _ in range(20)
)