AWS IAM Api for Policy Summary and Access Advisor info

旧时模样 提交于 2021-01-28 08:27:33

问题


I am trying to fetch the list of services that is allowed by a role. I see the AWS console has the Access Advisor information which fits my needs but I see no API support. Anyone know a way to call policy summary call (or something similar) that can provide that information without having to do this manually on the client side?


回答1:


You are correct. There is no API call that provides information similar to the Access Advisor.

The closest option is the ability to fetch the IAM policy, but you would then need to interpret the policy into something human-intelligible.



来源:https://stackoverflow.com/questions/45297398/aws-iam-api-for-policy-summary-and-access-advisor-info

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!