适用于策略摘要和访问顾问信息的AWS IAM Api [英] AWS IAM Api for Policy Summary and Access Advisor info

查看:43
本文介绍了适用于策略摘要和访问顾问信息的AWS IAM Api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取角色允许的服务列表.我看到AWS控制台具有符合我的需求的Access Advisor信息,但是我看不到任何API支持.有谁知道一种可以调用策略摘要调用(或类似方法)的方法,该方法可以提供该信息,而无需在客户端手动进行此操作?

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?

推荐答案

您是正确的.没有提供类似于Access Advisor的信息的API调用.

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

最接近的选择是能够获取IAM策略,但是您随后需要将该策略解释为人类可理解的内容.

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

这篇关于适用于策略摘要和访问顾问信息的AWS IAM Api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆