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

查看:24
本文介绍了用于策略摘要和访问顾问信息的 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天全站免登陆