Friday 15 March 2013

amazon web services - Python boto function for getting ALL policies associated with a ROLE? -



amazon web services - Python boto function for getting ALL policies associated with a ROLE? -

i looking parse iam policies in business relationship ip address restriction information. includes groups, users, , roles.

so boto.iam, can:

list groups iterate on groups, getting policies each group iterate on policies, parsing them ip restriction clause.

i can same users.

however, there no equivalent "get_all_role_policies" command can find. have verified can attach more 1 policy each role.

am missing something, or boto not back upwards same functionality roles groups , users?

the version of boto have has list_role_policies method , get_role_policy method similar ones users , groups. should allow find policies roles.

python amazon-web-services boto amazon-iam

No comments:

Post a Comment